Closed Altai-man closed 3 years ago
@Altai-man thanks. This should take care of the latest popular false positive error. Please try one more time when you get a chance.
The fix helped a lot. This is the latest run results: https://clbin.com/pMrWU This is very good.
What concerns me is that tests output is too detailed and as a result it does not e.g. fit into a github gist. Is there a flag to make testing output less verbose, showing only failed ones?
What concerns me is that tests output is too detailed and as a result it does not e.g. fit into a github gist. Is there a flag to make testing output less verbose, showing only failed ones?
The testing output is visible in the output because Pakku is run with verbose trace
option in Blin, if removed (I can remove that if needed), the testing output will not appear. the test phase output will only show :
Also can run Pakku with 'nopretty' or 'np' option to remove color from output and get rid of terminal escape code in github gist.
but it will not show the error that caused the testing of the module to fail at the moment
I guess there is no option in-between? Escape codes are ok.
but it will not show the error that caused the testing of the module to fail at the moment
I guess there is no option in-between? Escape codes are ok.
Actually I take my previous comment back, if verbose trace
is removed, it will default to verbose info
, which will print info, warn, error, fatal
levels to output.
Output example without verbose trace
option:
1- Installing a module [ test successful ]
hythm@galaxy$ pakku add ./Grid
🦋 PRC: 「./Grid」
🦋 TST: 「Grid:ver<0.0.4>:auth<github:hythm7>:api<*>」
🦋 ADD: 「Grid:ver<0.0.4>:auth<github:hythm7>:api<*>」
-Ofun
2- Installing a module [changed a test to make it fail on purpose]:
hythm@galaxy$ pakku add ./Grid
🦋 PRC: 「./Grid」
🔔 # Failed test 'formatted grid'
🔔 # at t/basic.t line 23
🔔 # You failed 1 test of 44
💀 TST: 「Grid:ver<0.0.4>:auth<github:hythm7>:api<*>」
Nofun
And the output for warn
and error
are below:
hythm@galaxy$ pakku verbose warn add ./Grid
🔔 # Failed test 'formatted grid'
🔔 # at t/basic.t line 23
🔔 # You failed 1 test of 44
💀 TST: 「Grid:ver<0.0.4>:auth<github:hythm7>:api<*>」
Nofun
hythm@galaxy$ pakku verbose error add ./Grid
💀 TST: 「Grid:ver<0.0.4>:auth<github:hythm7>:api<*>」
Nofun
https://gist.github.com/Altai-man/2ac42930e52adfe7140f5abcd1ce1d2f <- the results.
is the latest popular false positive error.