This project is read-only.

Running unit tests in Orchard

Topics: Troubleshooting
Jun 17, 2011 at 7:00 AM

Do I need to install NUnit to run the unit tests that come with Orchard or will they run using Visual Studio's built in MSTest?

Jun 17, 2011 at 8:40 AM

Inside of Orchard Source package you have <system-path>\Orchard.Source.1.2.41\lib\nunit. You can start nunit.exe from there and load whichever assembly you want to run.

You CAN NOT use MSTest. It only works on solutions that use Microsoft.VisualStudioTesting(whatever).dll and that have the TestClass, TestMethod etc, annotations.