Closed olarno closed 1 year ago
@olarno I have review the PR, here are some other notes:
For phpcs and phpstan you can do:
Make linter
If you run all the test the ConsoleIntegrationTest should fail once you more the command in the proper namespace. Just fix it.
If you run the command in the test env it's normal that you don,t have the same list of command. Just focus on what the automation test output.
I applied your feedback, I struggle with the test 😓
1) App\Tests\Console\Command\ExportListCommandsCommandTest::testArguments
Error: Unknown named parameter $Path
/home/wwwroot/packages/tester/Application/CommandTestTrait.php:68
I have created a command to retrieve all available commands within the project. After obtaining the list of commands and their respective names, I have included three key elements for each command:
You can test this functionality by running the command using bin/console app:list-command. The resulting data can be found in the file tests/Command/result/defaultExport.json.
To begin testing, the objective is to:
Next step