Question

Is there a way you can run your UnitTest project against a compiled DLL outside of the IDE? Basically we have testing procedures to validate code before moving into production.
I would not want to run the tests inside the IDE. I would want to have the compiled code ready to move to production and be able to run a final test against the .dll before the final copy.

Is there some kind of Command-Line utility that could do this? Just supply both .dlls and get a "all good" report of some kind.

Was it helpful?

Solution

I think you're probably looking for [MSTest](http://msdn.microsoft.com/en-us/library/ms182486(VS.80).aspx)

To run all tests in a specific container, you could do something like the following at a command line:

MSTest /testcontainer:MyTestProject\bin\debug\MyTestProject.dll

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top