Applies only for Visual Studio editions with Test Explorer functionality.

Profile PHPUnit Test Case

Make sure, requirements are met.

Open Test Explorer in Test / Test Explorer. Then:

profile PHPUnit test case

  • Navigate to the single test case.
  • Right click.
  • Choose Profile.

A new php.exe process will start and collects profiling data. After it's finished, Profiler View will be opened with the results.

For details about the test run or possible errors, see Visual Studio Output window.

See also