Answer the question
In order to leave comments, you need to log in
How to set up testing in yii2 advanced codeception?
I always get an error in the terminal in codecept
C:\OpenServer\domains\crm>codecept generate:test tests/unit ModelTest
==== Redirecting to Composer-installed version in vendor/codeception ====
[Codeception\Exception\ConfigurationException]
Suite unit was not loaded
generate:test
Codeception PHP Testing Framework v2.3.3
Powered by PHPUnit 5.7.20 by Sebastian Bergmann and contributors.
[RuntimeException]
Suite 'frontend' could not be found
run [-o|--override OVERRIDE] [-e|--ext EXT] [--report] [--html [HTML]] [--xml [XML] ] [--tap [TAP]] [--json [JSON]] [--colors] [--no-colors] [--silent] [--steps] [-d|--debug] [-- coverage [COVERAGE]] [--coverage-html [COVERAGE-HTML]] [--coverage-xml [COVERAGE-XML]] [--coverage-text [COVERAGE-TEXT]] [--coverage-crap4j [COVERAGE- CRAP4J]] [--no-exit] [-g|--group GROUP] [-s|--skip SKIP] [-x|--skip-group SKIP-GROUP] [--env ENV] [-f |--fail-fast] [--no-rebuild] [--] [] []
Process finished with exit code 1
Answer the question
In order to leave comments, you need to log in
Please show the output in the console if you just call codecept without any parameters and commands and from the project root.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question