Closed timeu closed 7 months ago
Note to self; documentation content for manual.
Going to mark this as approved, since it seems like a confirmed ticket from @petemounce and @timeu
@petemounce out of curiosity, what's the level of effort to fix this?
I think the effort would be low; this sounds like an omission to initialise the metrics being exported.
So, a unit (or integration might be easier) test to assert the expectation, and then a fix.
Describe the bug
The two metrics
goss_tests_run_outcomes_total
andgoss_tests_run_duration_milliseconds
for the overall run always have the "unknown" outcome label if the goss test has no failures or skipped tests. It works fine, if there is at least one skipped or failed testHow To Reproduce
Expected Behavior
Actual Behavior
Environment: goss 0.3.20