我正在尝试运行此TestPage 控件,但我不知道如何配置要测试的程序集。
我的主页看起来像
<UserControl x:Class="RunSilverlightTests.MainPage"
d:DesignHeight="300" d:DesignWidth="400">
<Grid x:Name="LayoutRoot" Background="White">
<test:TestPage ></test:TestPage>
</Grid>
</UserControl>
我引用了一个 silverlight 5 库,其中包含一个类,例如:
[TestFixture]
public class TestClass
{
[Test]
public void foo()
{
Assert.True(true);
}
}