Codeception
Codeception copied to clipboard
generate:* commands should create *.dist.yml files
What are you trying to achieve?
The following commands generate ./codeception.yml and ./tests/unit.suite.yml files.
I think the default codeception.dist.yml and ./tests/unit.suite.dist.yml file names should be used instead.
The dist file usually tracked with VCS, while the other one is ignored.
-
codecept init -
codecept generate:suite
Links:
- src/Codeception/Template/Acceptance.php
- src/Codeception/Template/Api.php
- src/Codeception/Template/Bootstrap.php
- src/Codeception/Template/Unit.php
- src/Codeception/Command/GenerateSuite.php
Details
- Codeception version: 4.x