Reputation: 507
I have already generated pex testing classes for a particular class. However I have changed this class due to refactoring and logic changes but I do not think that the current pex generated test class now cover everything.
How can i force pex to regenerate the individual test classes for a parent?
Upvotes: 2
Views: 117
Reputation: 11326
You can proceed as follows:
MyClass_Test
) and select Pex/Delete Generated Tests In Class. This will remove any tests from the MyClass_Test.g.cs
file. MyClass_Test.g.cs
will then be populated with the generated tests.(In theory you don't need step 1, but it allows you to verify the tests are removed before being regenerated).
Upvotes: 2