So in #codeception in #php the `#[Group('abc')]` is completely different from the `groups:` config in yml? One is test groups and the other is "tests grouped in folders.
And you can't disable a test group by default, only via CLI param...
WTF, bro?
So in #codeception in #php the `#[Group('abc')]` is completely different from the `groups:` config in yml? One is test groups and the other is "tests grouped in folders.
And you can't disable a test group by default, only via CLI param...
WTF, bro?
🧪 New set of tests for #rosariosis
18 new programs of RosarioSIS are now tested with #codeception through acceptance tests.
Acceptance testing is browser automation to check the app works correctly, just like a user would do by clicking buttons, filling fields, etc...
https://gitlab.com/francoisjacquet/rosariosis-meta/#codeception
Все тесты — это юнит тесты :o
Немного веселья на серьезную тему правильного нейминга тестов и 100500 их типов и видов. Обязательно дочитай до конца, иначе пропустишь невероятно мудрый посыл ;)
https://habr.com/ru/articles/820247/
#phpunit #codeception #интеграционное_тестирование #модульное_тестирование #unit_test
TIL: Codeceptions `::wantTo("xyz")` is evaluated at parsing time, not at runtime.
Means, you can't use variables or expressions in the argument. Now that was funny to discover...
If the generated FunctionalTester would at least keep the method docblocks, so IDE would have the doc directly available, that would've been faster to find.
Trying to find a straightforward way to merge XML coverage reports generated by #phpunit via #CodeCeption. The end goal is a nice HTML report. I can generate the HTML report or XML for a single chunk, but none of the tooling I can find to combine the chunks works. There's an open bug in #phpcov which prevents the serialized PHP reports from being able to be combined.
I'd consider tools in php, python, node, rust, or binaries for mac or linux.
Does anyone have a go to solution?
Hi, what is the recommended way to setup codeception tests for API / RESTful controller actions? I was able to setup codeception tests for Craft CMS and know a bit about fixtures, unit tests and st...