aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver-test/cache-tests.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-02-27 19:36:22 +0100
committerGitHub Enterprise <[email protected]>2026-02-27 19:36:22 +0100
commit1ed3139e577f6c8aa6d07f7e76afa3a80d9d4852 (patch)
tree8a44a56f18643db156f8b925be3d8edc25909dcc /src/zenserver-test/cache-tests.cpp
parentadd full WebSocket (RFC 6455) client/server support for zenhttp (#792) (diff)
downloadzen-1ed3139e577f6c8aa6d07f7e76afa3a80d9d4852.tar.xz
zen-1ed3139e577f6c8aa6d07f7e76afa3a80d9d4852.zip
Add test summary table and failure reporting to xmake test (#794)
- Add a summary table printed after all test suites complete, showing per-suite test case counts, assertion counts, timings and pass/fail status. - Add failure reporting: individual failing test cases are listed at the end with their file path and line number for easy navigation. - Made zenserver instances spawned by a hub not create new console windows for a better background testing experience - The TestListener in testing.cpp now writes a machine-readable summary file (via `ZEN_TEST_SUMMARY_FILE` env var) containing aggregate counts and per-test-case failure details. This runs as a doctest listener alongside any active reporter, so it works with both console and JUnit modes. - Tests now run in a deterministic order defined by a single ordered list that also serves as the test name/target mapping, replacing the previous unordered table + separate order list. - The `--run` option now accepts comma-separated values (e.g. `--run=core,http,util`) and validates each name, reporting unknown test names early. - Fix platform detection in `xmake test`: the config command now passes `-p` explicitly, fixing "mingw" misdetection when running from Git Bash on Windows. - Add missing "util" entry to the help text for `--run`.
Diffstat (limited to 'src/zenserver-test/cache-tests.cpp')
0 files changed, 0 insertions, 0 deletions