opnsense-src/contrib/kyua/cli
Igor Ostapenko 1152da4a99 kyua: Do not count skipped as passed in test cmd
It changes output of 'kyua test' CLI command only. Hence, other outputs
like junit are kept intact for CI and other use cases. It's meant to
improve UX of attended use cases.

The issue is that the following can be tricky to interpret:

  222/222 passed (0 failed)

It can be read as all tests are passed, but it might be a summary line
of all tests skipped due to some requirement is not met.

It's reworked to easily distinguish such cases:

  222/222 passed (0 broken, 0 failed, 0 skipped)
  0/222 passed (0 broken, 0 failed, 222 skipped)

The overall formula is:

  <actually passed>/<total> (<details about not actually passed ones>)

Suggested by:	kp
Reviewed by:	ngie, markj
Approved by:	markj (mentor)
Differential Revision:	https://reviews.freebsd.org/D46653

(cherry picked from commit 99689201a1eb7bcd503987c5220b79330dc058b7)

Approved by:    kp (mentor), markj (mentor)
2024-10-17 13:45:21 +00:00
..
cmd_about.cpp
cmd_about.hpp
cmd_about_test.cpp
cmd_config.cpp
cmd_config.hpp
cmd_config_test.cpp
cmd_db_exec.cpp
cmd_db_exec.hpp
cmd_db_exec_test.cpp
cmd_db_migrate.cpp
cmd_db_migrate.hpp
cmd_debug.cpp
cmd_debug.hpp
cmd_debug_test.cpp
cmd_help.cpp
cmd_help.hpp
cmd_help_test.cpp
cmd_list.cpp
cmd_list.hpp
cmd_list_test.cpp
cmd_report.cpp
cmd_report.hpp
cmd_report_html.cpp
cmd_report_html.hpp
cmd_report_junit.cpp
cmd_report_junit.hpp
cmd_test.cpp kyua: Do not count skipped as passed in test cmd 2024-10-17 13:45:21 +00:00
cmd_test.hpp
cmd_test_test.cpp
common.cpp
common.hpp
common.ipp
common_test.cpp
config.cpp
config.hpp
config_test.cpp
Kyuafile
main.cpp
main.hpp
main_test.cpp
Makefile.am.inc