KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a singleton that contains reference to statistics object. When I run couple of unit test on the program that uses that singleton - the values sustained between the tests. I though that when I'm doing Program.Main() it all starts over between unit tests, but somehow it remembers the results from last test. How can I write unit tests that will be isolated from each other (I don't want clean() functions - I want it to start over with new "everything"),
Tags (comma-separated)
Save Edits
Cancel