You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
552 B
C#
27 lines
552 B
C#
using Xunit.Abstractions;
|
|
|
|
namespace XUnitDIStudy.IntegrationTest
|
|
{
|
|
|
|
public class UseXUnit:IDisposable
|
|
{
|
|
private readonly ITestOutputHelper _output;
|
|
public UseXUnit(ITestOutputHelper outputHelper)
|
|
{
|
|
_output = outputHelper;
|
|
}
|
|
|
|
[Fact,Custom]
|
|
public void UseXunit_Test()
|
|
{
|
|
_output.WriteLine("使用 xUnit 单元测试框架!");
|
|
|
|
Assert.True(true,"使用 xUnit 单元测试框架!");
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
|
|
}
|
|
}
|
|
} |