Reputation: 5136
I've inherited a visual studio 2017 solution that has a unit test project included. The only project reference that look test related to testing is Microsoft.Owin.Test. The tests include TestClass and TestMethod attributes (defined in microsoft.visualstudio.testtools.unittesting)
So, does this mean I'm using MSTest or ?
I'm trying to track down a problem where a test class that inherits another test class won't run the inherited tests when I try to run that tests for that class directly (right click: run tests in class). They run fine from Test Explorer. Seems first I need to determine if I'm using nunit, mstest, or...
Upvotes: 3
Views: 1232
Reputation: 2271
There are a couple of tests framework that we can write our test cases based on them.
(For example: MsTest, NUnit, xUnit.net)
Anyway, in your case, the MsTest is the framework that was used in the project you are work in. You can easily find out that by its namespace which refers to Microsoft.visualstudio.testtools.unittesting
Please visit the following links for more information:
I hope this will help.
Upvotes: 2
Reputation: 489
If you are not using the nunit.framework.dll in your project references, and by the description it seems not, you are using the Visual Studio test engine.
Upvotes: 0