Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.1 KB

unit_test_execution.md

File metadata and controls

28 lines (21 loc) · 1.1 KB
layout group subgroup title menu_title menu_node contributor_name contributor_link version github_link
default
unit-testing
10_Running_Unit_Tests
Running Unit Tests
Running Unit Tests
parent
Vinai Kopp
2.0
test/unit/unit_test_execution.md

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 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 then convenience there is no benefit over running the tests on the console.

Please refer to Running Unit Tests in PHPStorm for further information.