Exploration of Existing Unit Test
Pex supports a special mode where it executes existing unit test suites
, i.e. Pex will run an existing unit tests in a similar fashion as the test harness.
Applying Pex on an existing unit test suite has many applications:
pex.exe /erm:unittest myunittests.dll
One can also refer to another assembly that contains additional settings
. This is particularly useful to specify coverage and user assemblies.
- MSTest is directly supported
- Unit Test decorators such as ExpectedException are understood by Pex.