Skip to content

Improve report#88

Merged
dorny merged 3 commits intodevfrom
improve-report
Mar 31, 2021
Merged

Improve report#88
dorny merged 3 commits intodevfrom
improve-report

Conversation

@dorny
Copy link
Owner

@dorny dorny commented Mar 31, 2021

New report rendering with code blocks instead of tables

Previously we listed tests using markdown tables. Each test group had it's own table and textual preface saying how many tests were executed in what time. This was completely reworked - now tests are listed inside code block. Grouping is achieved using simple indentation.

Duration of individual tests is no longer shown - it produced too much "noise" in the report. Pass/Fail check-mark was also moved before name of test suite. Behavior of "listTests" option was also changed - now if set to failed, it will list all tests, but only if suite is failed. Otherwise test listing is completely omitted.

Test duration is now rounded to whole seconds if it's more then 1s. Report will contain less accurate information but it will be easier to read.

Last change affects report trimming - if report is still too big after "listTests" is set to "failed" - it will trim report to fit max size and add informational message at the end.

dorny added 3 commits March 31, 2021 21:33
Report will contain less accurate information but it will be easier to read.
Previously we listed tests using markdown tables. Each test group had it's own table and textual preface saying how many tests were executed in what time.
This was completely reworked - now tests are listed inside code block. Grouping is achieved using simple indentation. Duration of individual tests is no longer shown - it produced too much "noise" in the report. Pass/Fail check-mark was also moved before name of test suite.
Behavior of "listTests" option was also changed - now if set to failed, it will list all tests, but only if suite is failed. Otherwise test listing is completely omitted.
Last change affects report trimming - if report is still too big after "listTests" is set to "failed" - it will trim report to fit max size and add informational message at the end.
@dorny dorny merged commit f486461 into dev Mar 31, 2021
@dorny dorny deleted the improve-report branch March 31, 2021 20:57
@dorny dorny mentioned this pull request Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant