My Sample Test Class:
namespace Test
{
[TestClass]
public class SampleTest
{
[TestMethod]
public void Test()
{
Assert.IsTrue(true); // <---------- LOOK
}
}
But if i do that:
namespace Test
{
[TestClass]
public class SampleTest
{
[TestMethod]
public void Test()
{
Assert.IsTrue(false); // <---------- LOOK
}
}
i win a AssertFailedException, the test break on this line, however the test dont show failure like a first test do with success!!
Help, Thank´s!!!
My Reference: http://www.jeff.wilcox.name/2008/03/silverlight2-unit-testing/