This is a migrated thread and some comments may be shown as answers.

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

2 Answers 24 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
unni nair
Top achievements
Rank 1
unni nair asked on 08 Oct 2013, 03:02 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 08 Oct 2013, 04:10 PM
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.
0
unni nair
Top achievements
Rank 1
answered on 08 Oct 2013, 05:15 PM
Its funny, I was so warped up I forgot about JustMock being just mocking framework. 
Tags
General Discussions
Asked by
unni nair
Top achievements
Rank 1
Answers by
Stefan
Telerik team
unni nair
Top achievements
Rank 1
Share this question
or