Commit graph

49 commits

Author SHA1 Message Date
Yann Hamon
b6728f181c
Fix junit output, also ensure junit output is deterministic (#253) 2023-12-24 18:06:03 +01:00
Will Yardley
71fd5f8386
fix: add missing output formats in error message (#213)
- Add missing 'junit' and 'pretty' output formats.
- Use quotes vs. backticks around command name
2023-06-14 22:41:51 +02:00
Yann Hamon
d038bf8840 Do not hardcode output stream in pkg/output
Co-authored-by: Ahmed AbouZaid <6760103+aabouzaid@users.noreply.github.com>
2023-04-23 13:39:43 +02:00
Yann Hamon
8bc9f42f39
Add support for "pretty" output (#195)
* feat: add pretty output format

---------

Co-authored-by: William Yardley <wyardley@users.noreply.github.com>
2023-04-22 18:41:51 +02:00
Yann Hamon
563e1db94c
Try to expose JSON paths (#173)
* Try to expose JSON paths
* update validationErrors format in json output
* Add test to JSON output with validationError
2023-02-26 12:32:51 +01:00
Yann Hamon
f5338b07f9
Validate JUnit output against Jenkins JUnit XSD (#134)
* Validate JUnit output against Jenkins JUnix XSD

* Add missing Jenkins JUnit XSD

* Add time to TestCase for #127
2022-10-16 13:52:04 +02:00
Maxime Brunet
ff2ab3d770
feat(output/tap): Output qualified resource name 2021-12-17 19:18:55 -08:00
Yann Hamon
2eefa7fc22 Update Junit tests, fix #45 2021-08-29 12:57:25 +02:00
Yann Hamon
77682c3142 fix junit test 2021-03-30 15:31:42 +02:00
Cameron Villers
e6e9eb8698 Add jUnit XML output formatter 2021-03-28 21:49:59 -04:00
Yann Hamon
69e2fc8ba9 Add TAP header 2020-12-15 22:09:07 +01:00
Yann Hamon
07dec90112 tap plan can be at the end, that way we can stream the output and not buffer 2020-12-15 21:54:44 +01:00
Yann Hamon
8c6e855239 support tap output 2020-12-15 13:22:52 +01:00
Yann Hamon
300b571c33 linting / refactor 2020-11-15 12:12:37 +01:00
Yann Hamon
3a2d4705f5 better yaml splitting - not perfect but similar to k8s - fix path logging 2020-11-08 23:48:02 +01:00
Yann Hamon
dfb80055fe use different pattern for processResults 2020-11-02 00:23:03 +01:00
Yann Hamon
81c097f1bb add back json output tests 2020-11-02 00:03:03 +01:00
Yann Hamon
1b4bc79841 add back text output tests cases 2020-11-01 23:57:44 +01:00
Yann Hamon
1bc9283240 refactor 2020-11-01 16:28:32 +01:00
Yann Hamon
ea8ecafa38 refactor output 2020-10-31 14:29:13 +01:00
Yann Hamon
7402d0fed8 Add support for passing manifests via stdin 2020-10-31 14:02:15 +01:00
Yann Hamon
b3b16ceccc Improve help 2020-10-18 19:43:43 +02:00
Yann Hamon
9dda2ff599 more acceptance tests 2020-10-18 14:04:23 +02:00
Yann Hamon
51732e6a21 count empty files in the number of parsed files in text output 2020-10-18 13:52:40 +02:00
Yann Hamon
5920cccf07 fine-tune text logging 2020-10-18 12:57:17 +02:00
Yann Hamon
52437c00d1 Add resource name to logging 2020-10-18 12:50:52 +02:00
Yann Hamon
d9a6468d09 add a few comments on exported vars 2020-06-06 18:42:44 +02:00
Yann Hamon
7bfb0b51f1 Display number of files / resources in text output 2020-06-04 23:59:50 +02:00
Yann Hamon
f64ecad867 Add comments on some exported resources 2020-06-04 00:51:36 +02:00
Yann Hamon
90e53c74d0 rename package files 2020-06-01 23:32:20 +02:00
Yann Hamon
42e5fd0c43 output write/flush return an error 2020-06-01 23:17:06 +02:00
Yann Hamon
dba9f97c1a add tests for text output, small fix 2020-06-01 23:09:31 +02:00
Yann Hamon
c3a25b9689 fix json output 2020-06-01 19:15:12 +02:00
Yann Hamon
f718b2c919 first simple test for json output 2020-06-01 19:09:53 +02:00
Yann Hamon
9b129d021a loggers take an io.writer 2020-06-01 17:15:52 +02:00
Yann Hamon
1f019066c7 -verbose instead of -quiet, -quiet seems a better default 2020-06-01 12:59:46 +02:00
Yann Hamon
0ddf4e9a50 more nits 2020-06-01 12:44:59 +02:00
Yann Hamon
5ff2d1a037 minor nits 2020-06-01 12:24:45 +02:00
Yann Hamon
8fc1df8d8b minor nits 2020-06-01 12:20:15 +02:00
Yann Hamon
c4bd7d0668 some linting simplifications 2020-05-31 19:29:30 +02:00
Yann Hamon
d94b0abf64 make logging non-concurrent, remove mutexes from output pkg 2020-05-31 17:03:02 +02:00
Yann Hamon
05da409a0a Support multi-resource files, include kind/version in logging 2020-05-31 16:47:30 +02:00
Yann Hamon
c6526d7278 Default to non-strict 2020-05-31 04:36:29 +02:00
Yann Hamon
11cfca1498 Better logging messages 2020-05-31 04:27:18 +02:00
Yann Hamon
ae5fbffb95 add quiet mode, fix race condition in statistics 2020-05-31 03:48:38 +02:00
Yann Hamon
8eb297d4c4 better logic mgmt in output plugins, go fmt 2020-05-31 02:10:19 +02:00
Yann Hamon
928d694e66 differentiate between an invalid resource and a validation error in output 2020-05-30 20:08:51 +02:00
Yann Hamon
bb478da7e0 enable printing a summary at the end of the run 2020-05-30 20:03:27 +02:00
Yann Hamon
8a25986e79 add configurable output 2020-05-30 17:20:24 +02:00