When creating a generic base test class in MSTest, and inheriting from it, I\'m unable to run the tests of all the inheriting classes.
Steven's answer of adding the base class source file as a link and then compiling it into the test dll worked for me as well.
However, starting in VS 2013 Update 2 there is now a concept of a "Shared Project" which is a way to formalize the idea of pulling in source code from another project into your project and then compiling them as one.
Here's what I did
At least on VS2015 Update 2, step 3 isn't as straight forward as I think it should be. Per this answer Visual studio doesn't provide you an easy way to link shared projects to test projects (go figure...). This is what I had to do:
Go all the way to the bottom and add this to the start of the
grouping (fix path and name as needed, make sure to add Label="Shared"
!):
Save and close the file