Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2k
Tests need their own environment implementation #925
Copy link
Copy link
Open
Labels
P3Doc bugs, questions, minor issues, etc.Doc bugs, questions, minor issues, etc.good first issueGood for newcomersGood for newcomerstestrelated to testsrelated to testsup-for-grabsA good issue to fix if you are trying to contribute to the projectA good issue to fix if you are trying to contribute to the project
Description
Activity
Metadata
Metadata
Assignees
Labels
P3Doc bugs, questions, minor issues, etc.Doc bugs, questions, minor issues, etc.good first issueGood for newcomersGood for newcomerstestrelated to testsrelated to testsup-for-grabsA good issue to fix if you are trying to contribute to the projectA good issue to fix if you are trying to contribute to the project
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:
machinelearning/test/Microsoft.ML.StaticPipelineTesting/StaticPipeTests.cs
Line 31 in 4cb7dd9
We should have XUnitEnvironment or TestEnvironment and redirect all output to ITestOutputHelper.