diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2026-09-06 10:50:17 +0200 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2026-09-08 20:11:47 +0200 |
| commit | 66b914a1eef9a86126cd39954c676a51e92fa182 (patch) | |
| tree | 92242a3541dd9a2012f9b8718c9eea109e36dd23 /src/Run.hs | |
| parent | 359ddc68ea519108c3cf05c7a6eaff02217e979f (diff) | |
Add standard output to the JUnit report
Diffstat (limited to 'src/Run.hs')
| -rw-r--r-- | src/Run.hs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -75,6 +75,8 @@ data SingleTestReport = SingleTestReport { reportTestName :: TestName , reportTestFailed :: Maybe Failed , reportTime :: Scientific + , reportOutput :: Text + , reportOutputError :: Text } runTests :: Output -> TestOptions -> GlobalDefs -> [ Test ] -> IO Report @@ -187,6 +189,8 @@ runTest out opts gdefs test = do ( res, [] ) <- takeMVar testRunResult reportTime <- getElapsedTime out + reportOutput <- collectOutput out + reportOutputError <- collectErrorOutput out void $ installHandler processStatusChanged oldHandler Nothing |