Recording EVERY test case is executed using intelliTest in Visual Studio 2015 RC

During a test run while looking at the intellitest explorer window, I notice that Pex is running more tests than is displayed when the run is complete. How can I ensure that all tests that have been run are displayed in the window when the run is complete? I would like to examine the intermediate tests that failed / passed and also save them for later use.

+3


source to share


1 answer


Intellitest works on code coverage as a metric. It only shows the test if:

  • Testing covers a previously not described code path
  • The test is not duplicated.

Thus, the results window actually shows all tests covering code paths that might cause leaks. If the expression in the intellitest code cannot be called, it displays a warning and no test is generated.



There is slightly different behavior if you are doing "Run Intellitest" at the class level. In this case, tests are generated for each method in the class, and the generated tests shown correspond to the method selected in the dropdown (for example, currently only tests are shown for XmlObjectContext.Dispose

).

intellitest results

+2


source







All Articles