Codeception
Codeception copied to clipboard
Full-stack testing PHP framework
#### What are you trying to achieve? On an api platform project, I am trying to perform a simple endpoint security test. Some of the scenarios should return a forbidden...
#### What are you trying to achieve? I try tu use shard option during tests with dataProvider. I have ony one test with many examples ad I want to split...
Currently, when a test inherits from a parent class, and there is a parsing error happening while parsing this parent class, then the error shows the parse error and line...
The `scalarizeArray` method deals internally with values of type `array` OR objects with `ArrayAccessible` interface ([see code](https://github.com/Codeception/Codeception/blob/5.0/src/Codeception/Module.php#L316)). But when recursively called and an object with `ArrayAccess` occurs, it fails due...
#### What are you trying to achieve? Use a global groups definition, as defined at [https://codeception.com/docs/Customization#Group-Files](https://codeception.com/docs/Customization#Group-Files). This is required in order for infection/infection to work with codeception. #### What do...
#### What are you trying to achieve? I am attempting to receive an entity with the most recent data written on the API test, but I'm encountering incorrect or inconsistent...
#### What are you trying to achieve? Run my tests #### What do you get instead? I pressed control c to stop my tests from running very early in the...
I am trying to use the new #[Examples()] attribute instead of annotation. However, it requires me to update the tests. For example in order to get the `isLocked` value from...
There were 2 newlines and a trailing space between generated methods. https://github.com/Codeception/Codeception/blob/ed4af7fd4103cdd035916fbb8f35124edd2d018b/tests/data/included/jazz/tests/functional/TestGuy.php#L65C6-L68
Is there a way to verify all *.feature files to identity Gherkin files with unknown steps via command line interface. We use PhpStorm and it integrates very nice, but our...