unit testing - Is it possible to have factory tests in mstest, like in MbUnit? -


The main reason we are using mstest for unit testing in our company is that no free visual studio for MBUnet There is no integration (Test Drenen.Net is not free for companies).

Recently, I stumbled upon the need to run a single unit test on two different implementations from my previous experience of the same interface that I know it is easy to do with MbUnit but, How to do it with MSTEst?

I insist that I need different results for each interface, so please do not do things like running the same method twice - once the same unit test per interface Method, because doing so results only one result.

I know about data-driven solutions and is using it now, but this is an * ac pain in what is an easy way, MbUnit way?

Thank you.

A great way to do this in addition to using its data-driven test features in Don MSTE Although you do not know, you can try using an abstract base class for your test stability and then make a subclass for each interface to test it.

BTW offers free integration with Galio Visual Studio Testing Tool. We are going to resume work on the second add-in for Visual Studio as part of Gallio v3.2.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -