What is the equivalent of NUnit 'TestCase' in JustMock?

3 posts, 1 answers
  1. unni nair
    unni nair avatar
    4 posts
    Member since:
    Apr 2010

    Posted 08 Oct 2013 Link to this post

    I am trying to find, what is the equivalent of 'TestCase' in NUnit here in JustMock? Also is there a way to do data driven testing to elliminate the copy/paste syndrome for just change of input, expected and actual values?
    Thanks
  2. Answer
    Stefan
    Admin
    Stefan avatar
    198 posts

    Posted 08 Oct 2013 Link to this post

    Hi Unni,

    JustMock is a mocking library. It is not a unit testing framework. JustMock is a library that helps you write your unit tests by providing tools to isolate dependencies of classes under test. You still need to use a unit testing framework (e.g. NUnit) and use its test runner to have actual tests.

    As a corollary, JustMock can be used outside of a unit test project for changing the behavior of code at runtime, although there probably aren't many useful applications of this feature.

    Regards,
    Stefan
    Telerik
    Share what you think about JustTrace & JustMock with us, so we can become even better! You can use the built-in feedback tool inside JustTrace, our forums, or our JustTrace or JustMock portals.
  3. DevCraft R3 2016 release webinar banner
  4. unni nair
    unni nair avatar
    4 posts
    Member since:
    Apr 2010

    Posted 08 Oct 2013 Link to this post

    Its funny, I was so warped up I forgot about JustMock being just mocking framework. 
Back to Top