Commit graph

329 commits

Author SHA1 Message Date
Michal Dorner
bbf369dfb0
Update got 2022-08-19 23:39:23 +02:00
Michal Dorner
57e5862411
Update multiple packages and configs 2022-08-19 23:37:14 +02:00
Michal Dorner
81fcbf17a9
Update js-yaml 2022-08-19 22:21:54 +02:00
Michal Dorner
4c7348c4be
Update TypeScript 2022-08-19 22:19:29 +02:00
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
Vasanth Dharmaraj
8b0cebbf1d
Merge pull request #1 from vasanthdharmaraj/remove-excessive-logging 2022-06-18 01:09:08 +05:30
Vasanth Dharmaraj
19aaf9016e
Suppress "Processing test results from" log 2022-06-18 01:08:45 +05:30
Michal Dorner
0d00bb14cb
Update CHANGELOG to 1.5.0 2021-06-22 22:43:05 +02:00
Michal Dorner
a585725c8b
Merge pull request #128 from dorny/issue-127-fix-pattern-with-backslash
Add option to convert backslashes in path pattern to forward slashes
2021-06-22 22:40:02 +02:00
Michal Dorner
de0b4b9ece
Add option to convert backslashes in path pattern to forward slashes
The fast-glob library that is internally used interprets backslashes as escape characters. If enabled, all backslashes in provided path will be replaced by forward slashes and act as directory separators. It might be useful when path input variable is composed dynamically from existing directory paths on Windows.

Closes #127
2021-06-22 22:33:11 +02:00
Michal Dorner
ad831af420
Merge pull request #123 from workgroupengineering/features/only-summary
Add option to generate only the summary from processed test results files
2021-06-22 21:32:05 +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
e8f4fdfec7
Merge pull request #118 from dorny/java-junit-support-errors
Fix JUnit test-cases with error misclassified as passed test
2021-05-24 15:06:06 +02:00
Michal Dorner
d01ef000ba
Fix JUnit test-cases with error misclassified as passed test
Previous implementation considered only test-cases with <failure> as failed. This fix makes processing of <error> and <failure> the same. It also handles situation when error or failure elements contains only text and no attributes.
2021-05-24 15:03:34 +02:00
Michal Dorner
6969ae6af5
Update CHANGELOG for v1.4.3 2021-05-13 23:01:52 +02:00
Michal Dorner
7c6c7df048
Remove depandabot - for this project its too annoying without real benefits 2021-05-13 23:00:15 +02:00
Michal Dorner
0ed324d155
Merge pull request #115 from dorny/java-junit-handle-missing-time
Patch java-junit to handle missing time field
2021-05-13 22:53:51 +02:00
Michal Dorner
72c193c336
Patch java-junit to handle missing time field
Normally a <testsuites> element has a time field. In some JUnit implementations this field is missing. This issue was found in junit XML created in matlab.

At the moment I don't plan to explicitly support matlab - that would require to add more tests and documentation. However this patch should make it work with the existing java-junit parser.
2021-05-13 22:39:52 +02:00
Michal Dorner
e873f73dd6
Merge pull request #114 from dorny/issue-113-print-breaks-dart-parsing
Fix dart-json parsing broken by print message
2021-05-13 22:04:27 +02:00
Michal Dorner
f88270a385
Update dist/index.js 2021-05-13 21:56:10 +02:00
Michal Dorner
dcaab46b46
Fix dart-json parsing broken by print message
Print message related to suite, instead of a specific test, would break parsing - it would expect test object to be present in dictionary but there would be none.
This fix adds necessary check and messages not related to tracked tests will be ignored.
2021-05-13 21:48:55 +02:00
Michal Dorner
cbdb218336
Update CHANGELOG for v1.4.2 2021-04-20 21:53:41 +02:00
Michal Dorner
43d89d5ee5
Fix dotnet-trx parser failing on passed tests with non-empty error info 2021-04-20 21:38:55 +02:00
Michal Dorner
4fcb1ce90b
Update CHANGELOG for v1.4.1 2021-04-20 08:50:50 +02:00
Michal Dorner
2e3fd84080
Merge pull request #105 from dorny/fix-dotnet-trx-custom-names
Fix dotnet-trx parsing of tests with custom display names
2021-04-20 08:49:30 +02:00
Michal Dorner
6662b9362e
Fix dotnet-trx parsing of tests with custom display names 2021-04-20 08:40:05 +02:00
Michal Dorner
0c4e1654a1
Merge pull request #99 from dorny/dev
Version 1.4.0
2021-04-20 00:09:45 +02:00
Michal Dorner
c74b76e916
Update CHANGELOG for v1.4.0 2021-04-20 00:05:12 +02:00
Michal Dorner
d39bdea68c
Update screenshots for README 2021-04-19 23:58:58 +02:00
Michal Dorner
e81e3750bc
Merge pull request #90 from dorny/mocha-json
Add support for mocha-json
2021-04-19 23:22:04 +02:00
Michal Dorner
368fd2475a
Fix grammar issues in README 2021-04-19 23:19:35 +02:00
Michal Dorner
78b798ea79
Add mocha-json external test fixtures 2021-04-19 23:19:19 +02:00
Michal Dorner
0e5d21a75b
Document potential issue with mocha JSON reporter 2021-04-01 00:05:59 +02:00
Michal Dorner
ee126813a2
Merge branch 'dev' into mocha-json 2021-04-01 00:05:41 +02:00
Michal Dorner
39f7ac7868
Merge pull request #89 from dorny/fix-suite-links
Use full URL to link test suites
2021-03-31 23:33:25 +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
f48646179b
Merge pull request #88 from dorny/improve-report
Improve report
2021-03-31 22:57:20 +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
96df6db61e
Round test duration to whole seconds if it's more then 1s
Report will contain less accurate information but it will be easier to read.
2021-03-31 21:33:21 +02:00
Michal Dorner
3c4d3b3836
Merge pull request #87 from dorny/dart-error-message
Improve test error messages from flutter
2021-03-31 21:28:46 +02:00
Michal Dorner
ea36be4653
Improve test error messages from flutter
For some reason the error message from flutter SDK might contain no useful information. Basically it just says that test failed and you should see the logs. Logs itself are provided as content of `print` event. This commit adds special processing for this behavior - it parses actual error message out of print event.
2021-03-31 21:25:54 +02:00
Michal Dorner
2c87efac07
Moving README,CHANGELOG and LICENSE back to root folder
It turns out it's not possible to publish action when README is in docs folder
2021-03-24 18:22:55 +01:00
Michal Dorner
383ae3ef8c
Fix path to assets in README 2021-03-24 18:17:10 +01:00
Michal Dorner
8a00817999
Update CHANGELOG for v1.3.1 2021-03-24 18:15:49 +01:00
Michal Dorner
bab8ddc2ca
Move README, CHANGELOG and LICENSE to docs folder 2021-03-24 18:10:44 +01:00
Michal Dorner
10268d2d6d
Merge pull request #86 from dorny/issue-82-net-trx-no-duration
Fixes #82: net-trx parser handles missing duration attribute
2021-03-24 18:08:55 +01:00
Michal Dorner
d29a37e78a
Fixes #82 - net-trx parser handles missing duration attribute 2021-03-24 18:02:31 +01:00