0

我正在尝试运行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);
    }
}
4

1 回答 1

0

很简单,把所有东西都放在同一个程序集中。

于 2013-05-28T07:10:47.447 回答