浅析框架
这里项目里只有两个文件,让我们来看看
App.xaml.cs
private void Application_Startup(object sender, StartupEventArgs e) { this.RootVisual = UnitTestSystem.CreateTestPage(); } |
Test.cs
很简单就是在里边写测试方法的。
[TestMethod] public void TestMethod() { Assert.Inconclusive(); } |
[TestMethod] |
F5运行。