Permalink
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (18 sloc) 1010 Bytes
group title contributor_name contributor_link functional_areas
testing
Running Unit Tests
Vinai Kopp
Testing
test

Executing the Magento 2 unit tests is straight forward. They can be executed in several different ways.

Command Line Interface (CLI)

This option is useful for running the tests during Continuous Integration or on remote servers, or if no IDE with PHPUnit support is available. It only requires a minimum amount of setup.

Please refer to [Running Unit Tests in the CLI]({{ page.baseurl }}/test/unit/unit_test_execution_cli.html) for further information.

PHPStorm IDE

Running the tests inside an IDE like PHPStorm IDE is convenient for developers, since it allows for easier navigation in the code and debugging.

Other than convenience there is no benefit over running the tests on the console.

Please refer to [Running Unit Tests in PHPStorm]({{ page.baseurl }}/test/unit/unit_test_execution_phpstorm.html) for further information.