Running Unit Tests
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.
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 for further information.