Anyone knows how to do unit testing in a WP 8.1 RT app? There is almost no resources in the internet about this or even WinRT.
Create a test class with a test method inside that project. This could look like this:
[TestClass]
public class FooTestUnit
{
[TestMethod]
public void TestFooBarProperty () {
int referenceValue = 42;
int actualValue = methodToTest();
Assert.AreEqual(referenceValue, actualValue);
}
}
}
From the main menu choose: Tests / Run all tests.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With