ASP MVC Unit Test Not Detected

Please add the keyword public to your class definition. Your test class is currently not visible outside its own assembly.

[code language=”csharp”]
namespace tests {
[TestClass]
public class SimpleTest {
[TestMethod]
public void Test() {
Assert.AreEqual("a","a", "same");
}
}
}
[/code]

http://stackoverflow.com/questions/13533259/why-does-visual-studio-2012-not-find-my-tests

Chandra Oemaryadi has written 244 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>