views:

271

answers:

1

Howdy,

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.

Thank you,
Keith

+3  A: 

I think you're probably looking for MSTest

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

Scott Saad