Interested in a
Personal Demo ?


Name* :
Please Enter your Name
Company E–Mail* :
Please Enter a Valid Email

Testimonials


"Typemock Isolator is a really great product. The best mocking framework I have used so far."
Mikael Thomsen, Vestas Wind Systems A/S
Success stories

PurchaseOptions


US Toll Free
866–895–4680
Outside US
+44–203–150–0293
Get your printable quote
Buy online

 

Don't depend on other tests

Having your unit test depend on another test can be a big annoyance down the line for your project. 

Types of test dependencies can be:

 

 

What problems can this cause?

 

 

What can I do to solve this?

usually people resort to this problem when they want to reuse code from the test that is being called (setting up some state in the system, for example). Instead of calling the other test, extract the common code that you want both tests to execute, into a utility method in your test class. then have both tests call that utility method.