dotnet / dotnet/machinelearning
Tests need their own environment implementation
Open
area-Infrastructure
good first issue
help wanted
Priority:3
test-enhancement
- Dominant language
- C#
- Stars
- 9.4k
- Forks
- 2k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 11
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.