I have this code:
private readonly ITestOutputHelper _output;
public Test(ITestOutputHelper output)
{
_output = output;
}
[Fact]
public void Test1()
{
_output.WriteLine("TEST OUTPUT");
}
but I'm not sure why output ( TEST OUTPUT
) isn't logged anywhere
Test, is of course passing.
I'm using .NET Core 2.1
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.