What are you trying to achieve?
Create the first acceptance test after bootstrapping Codeception.
What do you get instead?
After completion of running the bootstrap command "Next Step" instructions 1-4 are displayed. Instructions 3 & 4 are wrong.
- Create your first acceptance tests using
codecept g:cest acceptance First
- Write first test in tests/acceptance/FirstCest.php
The bootstrap creates directories tests/Acceptance with a CAPITAL A in Acceptance, not lowercase. If you try to run the instruction as shown (copy/paste) you will get the error: "Suite acceptance was not loaded"
FIX: "Next Step" instructions need the "a" in "acceptance" in Steps 3 & 4 changed to Uppercase "A"
FILE: codeception/codeception/src/Codeception/Template/Bootstrap.php
LINES: 72 & 73
Details
- Codeception version: 5x
- PHP Version: 8.1
- Operating System: Any
What are you trying to achieve?
Create the first acceptance test after bootstrapping Codeception.
What do you get instead?
After completion of running the bootstrap command "Next Step" instructions 1-4 are displayed. Instructions 3 & 4 are wrong.
codecept g:cest acceptance FirstThe bootstrap creates directories tests/Acceptance with a CAPITAL A in Acceptance, not lowercase. If you try to run the instruction as shown (copy/paste) you will get the error: "Suite acceptance was not loaded"
FIX: "Next Step" instructions need the "a" in "acceptance" in Steps 3 & 4 changed to Uppercase "A"
FILE: codeception/codeception/src/Codeception/Template/Bootstrap.php
LINES: 72 & 73
Details