Commit graph

26 commits

Author SHA1 Message Date
Michal Dorner
8848447e3f
Fix tests on non us-EN local env (#185)
* Fix tests on non us-EN local env

Different locale might result in different alphabetical order of tests in report. Tests using snapshot comparison then fails

* Fix code style
2022-08-19 21:53:20 +02:00
Michal Dorner
2ac8b4498f
Force generating summary if there is single results file and onlySummary is enabled 2021-06-22 21:28:22 +02:00
Giuseppe Lippolis
17e793242c feat: allows to generate the summary only. 2021-06-03 10:57:57 +02:00
Michal Dorner
ee126813a2
Merge branch 'dev' into mocha-json 2021-04-01 00:05:41 +02:00
Michal Dorner
4c2f9f34f7
Use full URL in suites table
Adds full URL in place previous commit missed
2021-03-31 23:30:19 +02:00
Michal Dorner
fab342311c
Use full URL to link test suites
GitHub UI for some unknown reason navigates user to check run with `check_suite_focus=true` query argument. With this argument unfortunately navigation to document ID with `#something` doesn't work
2021-03-31 23:22:02 +02:00
Michal Dorner
cfaaaf1a47
Use non-breaking space between icon and suite name 2021-03-31 22:34:58 +02:00
Michal Dorner
690ec77880
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.
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.
2021-03-31 21:49:53 +02:00
Michal Dorner
3768e4e756
Merge branch 'main' into mocha-json 2021-03-08 21:00:14 +01:00
Michal Dorner
a9749e3840
Handle test reports with no test cases 2021-03-07 12:22:00 +01:00
Michal Dorner
fbb83bff74
Include group name in error annotations 2021-02-24 21:33:29 +01:00
Michal Dorner
32f5b23752
Set listTests and listSuites to lower detail if report is too big 2021-02-20 22:32:30 +01:00
Michal Dorner
855ff9bfaf
Fix flutter-json doesn't provide error details 2021-02-01 15:08:21 +01:00
Michal Dorner
60b35d601a
Refactoring & cleanup of whole codebase
Improves report summary and annotations
2021-01-31 20:48:22 +01:00
Michal Dorner
07a0223ee3
Update dist/index.js 2021-01-29 01:04:01 +01:00
Michal Dorner
c75a9dd8c8
Add table with reports results if there are more test runs 2021-01-29 00:51:08 +01:00
Michal Dorner
96e91aa726
Simplify 'only-failed' to 'failed' 2021-01-28 22:18:29 +01:00
Michal Dorner
f55c0119bb
Remove leading result icon + add external .net fixture 2021-01-28 22:03:01 +01:00
Michal Dorner
e3bb634029
Improve report format to save space 2021-01-25 14:21:44 +01:00
Michal Dorner
768aefbed2
Report: round times and skip Test Suites section if it's empty 2021-01-25 13:18:02 +01:00
Michal Dorner
3744805866
Add list-suites and list-tests options to limit report size 2021-01-25 12:56:20 +01:00
Michal Dorner
42eb11a3c8
Add summary badge to report 2021-01-24 18:11:59 +01:00
Michal Dorner
1ab5efa052
Improve logging and error handling 2021-01-18 22:21:19 +01:00
Michal Dorner
c48c07640f
Support parsing multiple reports 2021-01-16 22:53:14 +01:00
Michal Dorner
b28f91cc2e
Add dotnet-trx support (no annotations yet) 2021-01-11 17:48:33 +01:00
Michal Dorner
4e2ae7493f
Refactoring: parsers share markdown report generation 2021-01-10 17:56:35 +01:00