Running the unit tests in PhpStorm

  1. Follow and complete all steps in the previous chapter
  2. Configure PhpStorm to use the shell script found in Resources/Scripts/ as PHP binary
  3. Edit the default run configuration of PHPUnit and add the environment variable named ENV_TYPO3_SITE_PATH
  4. Set the value of the variable to the absolute path of your TYPO3 installation without trailing slash.
  5. Set the path to the phpunit extension as include path in PhpStorm
  6. Now you can right-click any test, test file or test folder and select “run” to run the tests.

For more details and some screenshots you can read this blog post:

http://insight.helhum.io/post/63972451370/executing-typo3-cms-unit-test-tests-in-phpstorm