Use DOTNET_STARTUP_HOOK to have the target run the tests (#91)

This commit is contained in:
Patrick Stevens
2024-06-23 17:25:24 +01:00
committed by GitHub
parent 85cd116d52
commit fb945c04ac
17 changed files with 366 additions and 64 deletions

View File

@@ -89,8 +89,13 @@ type TestContexts =
AsyncLocal = local
}
member internal this.Stdout : TextWriter = this.StdOutWriter
member internal this.Stderr : TextWriter = this.StdErrWriter
/// An output stream which will identify the ExecutionContext it's being written to from,
/// and will separate that output into its own stream internally.
member this.Stdout : TextWriter = this.StdOutWriter
/// An output stream which will identify the ExecutionContext it's being written to from,
/// and will separate that output into its own stream internally.
member this.Stderr : TextWriter = this.StdErrWriter
member internal this.DumpStdout (id : OutputStreamId) : string =
lock