Merge pull request #874

This commit is contained in:
symfony-flex-server[bot]
2020-04-05 12:03:40 +00:00
committed by GitHub
+8 -8
View File
@@ -1,15 +1,15 @@
<fg=white;bg=magenta> Bootstrapping Codeception </fg=white;bg=magenta>
File codeception.yaml created <- global configuration
File codeception.yml created <- global configuration
tests/unit created <- unit tests
tests/unit.suite.yaml written <- unit tests suite configuration
tests/unit.suite.yml written <- unit tests suite configuration
tests/functional created <- functional tests
tests/functional.suite.yaml written <- functional tests suite configuration
tests/functional.suite.yml written <- functional tests suite configuration
tests/acceptance created <- acceptance tests
tests/acceptance.suite.yaml written <- acceptance tests suite configuration
tests/acceptance.suite.yml written <- acceptance tests suite configuration
<info>Codeception is installed for acceptance, functional, and unit testing</info>
<options=bold>Next steps:</options=bold>
1. Edit <options=bold>tests/acceptance.suite.yaml</options=bold> to set url of your application. Change PhpBrowser to WebDriver to enable browser testing
2. Edit <options=bold>tests/functional.suite.yaml</options=bold> to enable a Doctrine module if needs.
3. Create your first acceptance tests using <comment>vendor/bin/codecept g:cest acceptance First</comment>
4. Write first test in <options=bold>tests/acceptance/FirstCest.php</options=bold>
1. Edit <options=bold>tests/acceptance.suite.yml</options=bold> to set the url of your application. Change PhpBrowser to WebDriver to enable browser testing.
2. Edit <options=bold>tests/functional.suite.yml</options=bold> to enable Doctrine module if needed.
3. Create your first acceptance test using <comment>vendor/bin/codecept g:cest acceptance First</comment>
4. Write your first test in <options=bold>tests/acceptance/FirstCest.php</options=bold>
5. Run tests using: <comment>vendor/bin/codecept run</comment>