Hi there, I am testing an interface, using MbUnit's combinatorial test. The Test uses a method to set a field (called name). The Method is meant to be used only once. Thus it will return false and not change the value of "name" if there is already a value.
The Test combines one instance of the tested class (with empty field "name") with several values for the string being set by the method "SetName(string name)". First time everything works fine, but the second test fails, because the name-Field is set and MbUnit uses the same instance of the class. I thought a combinatorial test would start with a "fresh" instance provided from the factory for every single test. What's wrong about my test? Please help! Thank's a lot Claudia --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MbUnit.User" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/MbUnitUser?hl=en -~----------~----~----~----~------~----~------~--~---
