dotnet/machinelearning

Tests need their own environment implementation

開放

#925 建立於 2018年9月15日

 (4 則留言) (1 個反應) (0 位負責人)C# (1,901 個分叉)batch import
P3good first issuetestup-for-grabs

倉庫指標

星標
 (9,125 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Right now we use TlcEnvironment (or ConsoleEnvironment) which outputs everything to console. And XUnit don't care about console, and if you want to look on output during test execution you need to do something like this: https://github.com/dotnet/machinelearning/blob/4cb7dd9047b4c456e81ba014c664c27efe217351/test/Microsoft.ML.StaticPipelineTesting/StaticPipeTests.cs#L31

We should have XUnitEnvironment or TestEnvironment and redirect all output to ITestOutputHelper.

貢獻者指南