Commit graph

142 commits

Author SHA1 Message Date
Connor Vidlock
2ae30facd4
clean up logic 2024-01-29 17:15:30 -06:00
Connor Vidlock
1a4bb27f01
update to no longer include skipped tests in list 2024-01-29 17:09:58 -06:00
Connor Vidlock
cd976285dc
update logging and test report 2024-01-29 15:59:51 -06:00
Connor Vidlock
32b80624d1
last update to get non-skipped to run 2024-01-29 15:49:51 -06:00
Connor Vidlock
161c97e78e
fix available list-suites 2024-01-29 15:48:55 -06:00
Connor Vidlock
926bb5420a
add playwright-report file to test skipped 2024-01-29 15:42:01 -06:00
Connor Vidlock
9c2f1cf0f7
remove skipped tests 2024-01-29 15:25:03 -06:00
Emanuele Prella
d5b3967dd9
Merge pull request #7 from hudl/NOTICK-AllowMoreThan50Annotations
NOTICK: Allow more than 50 annotations
2023-12-21 09:43:22 +01:00
Emanuele Prella
ef6f15c949
try to fix build 2023-12-20 10:48:26 +01:00
nicolo.castro
16a69ceefa
create patch request params with output 2023-12-20 10:09:20 +01:00
nicolo.castro
cf7f2a70cf
split annotations in multiple requests 2023-12-20 09:17:05 +01:00
Connor Vidlock
72f18cb536
downgrade to v12 of got 2023-07-26 14:52:04 -05:00
Connor Vidlock
819dccfd4b
Update main.ts 2023-06-28 17:11:58 -05:00
Connor Vidlock
6e4d32881c
Update main.ts 2023-06-28 13:45:39 -05:00
nicolo.castro
c82c974817
trying to add link as output 2023-04-27 14:08:35 +02:00
Connor Vidlock
ad924b75b6
Test comment 2023-03-20 11:10:14 -05:00
Connor Vidlock
b0216aca55
Clean up code and remove testing comments 2023-03-20 10:57:22 -05:00
Connor Vidlock
c5d96f0a2d
Update main.ts 2023-03-20 10:36:50 -05:00
Connor Vidlock
68f1bddf1f
switch to dispatch to test 2023-03-20 10:28:55 -05:00
Connor Vidlock
0da52892f7
Update with reports to use 2023-03-20 10:04:23 -05:00
Connor Vidlock
08e968d28a
Update main.ts 2023-03-20 09:56:42 -05:00
Connor Vidlock
ec9abbc41f
run formatter and update check 2023-03-20 09:49:52 -05:00
Connor Vidlock
f354bfa69d
add new show-html-notice input 2023-03-20 09:42:33 -05:00
Michal Dorner
3963c5302f
Skip listing of files if error parsing is disabled 2022-11-30 21:25:39 +01:00
Michal Dorner
ac8472f51a
Log filename if parsing fails 2022-11-30 18:49:10 +01:00
Michal Dorner
b45fb8b405
Merge branch 'main' into pr-179 2022-11-30 18:40:51 +01:00
Trond Einar Snekvik
e7733f494f Only report failure if fail-on-error is set
The flag is checked when exiting early, but the report update at the end ignores it, causing the test run to be reported as a failure.

Fixes #161.

Signed-off-by: Trond Einar Snekvik <Trond.Einar.Snekvik@nordicsemi.no>
2022-11-30 13:43:42 +01:00
Michal Dorner
6af36d9ecf
Merge branch 'main' into issue-208-java-junit-show-annotations-on-pr-changed-files 2022-11-29 09:41:00 +01:00
Michal Dorner
86d6ec5dd5
Update dist/index.js 2022-11-29 08:55:49 +01:00
Hervé Audren
a91086638b Gracefully handle empty failure tags
This commit fixes #137. Some JUnit generators emit an empty failure tag,
with only a message property set. In those cases, the parser crashes
when trying to match the failure with a source file. Since this feature
is optional, the simplest fix is to skip the processing when the failure
tag is empty.

Also added a test, and the corresponding input file is generated from a
reporter within our codebase.
2022-11-29 08:45:53 +09:00
Ats Uiboupin
aebbb4d7c4
fix(java-junit): parse StackTraceElement with custom classloader
Fixes #208
2022-11-19 22:17:15 +02:00
Ats Uiboupin
3a48f6e045
fix(java-junit): stack trace line can start with whitespaces
Fixes #208
2022-11-19 22:17:06 +02:00
Ats Uiboupin
e5edb614dd refactor: extract parsing java StackTraceElement to allow improving 2022-11-19 21:01:30 +02:00
Michal Dorner
48bf7af48b
Merge branch 'main' into mocha-empty-test-suite 2022-11-13 13:20:55 +01:00
Dharmendra Soni
3cca7492d0
Merge pull request #200 from petrdvorak/main
Fix #199: Use  instead of ✔️ for better cross platform look
2022-11-03 04:28:34 +05:30
Michal Dorner
e54753f811
Update to node16 + recent versions of core and exec packages 2022-10-13 22:05:31 +02:00
Petr Dvořák
ba1a54f2f4
Update markdown-utils.ts 2022-10-05 22:01:58 +02:00
Petr Dvořák
ae902f665e
Fix #199: Use instead of ✔️ for better cross platform look
- Use the  for passed tests
- Use the  for skipped tests
2022-10-05 22:01:28 +02:00
Ramon van de Laarschot
a3356fa639 Gracefully handle empty nested testsuite elements for JUnit.
This fixes an issue with mocha-junit-reporter returning empty root-level testsuite elements.
2022-09-09 16:51:32 +02:00
Michal Dorner
aba461c3a7
Downgrade got package to v11.x
got@v12.x has a dependency on @sindresorhus/is@v5.x and it uses optional chaining operator "?.".  
Probably due to issue https://github.com/vercel/ncc/issues/873 this syntax got into our dist/index.js. For some unknown reason it results in error when action is executed in GitHub runner despite the node version is 16.17.
2022-08-23 23:10:34 +02:00
Michal Dorner
b595428c55
Update multiple packages + fix eslint resolver issue 2022-08-20 00:06:56 +02:00
Michal Dorner
57e5862411
Update multiple packages and configs 2022-08-19 23:37:14 +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
19aaf9016e
Suppress "Processing test results from" log 2022-06-18 01:08:45 +05:30
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
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
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
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