-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve test run output #139
Comments
Don't display "0 benchmarks", and if there are no tests (because it's a benchmark suite) then don't display "0 tests". The two cases can be symmetric. |
* Normally only display the test count OR the benchmark count. If they're both 0, both are displayed. * Don't display the number of suites that passed/failed. * Display test/benchmark counts after checks instead of before. part of dylan-lang#139
* Normally only display the test count OR the benchmark count. If they're both 0, both are displayed. * Don't display the number of suites that passed/failed. * Display test/benchmark counts after checks instead of before. part of dylan-lang#139
None of this makes sense: $ ../_build/bin/time-test-suite --test test-load-tzif-version-1
Running test test-load-tzif-version-1: NOT IMPLEMENTED in 0.000822s and 68KiB
test-load-tzif-version-1 not implemented
Ran 0 checks: PASSED
Ran 1 test: PASSED (1 not implemented)
NOT IMPLEMENTED in 0.000822 seconds
|
I still find this output for failed checks to be pretty bad:
I think better would be
Or even better, a multi-line display:
|
* Use multi-line output with "want" and "got" values, and detailed output if present, on separate lines. * Don't sort detail results since they aren't guaranteed to be sortable. * Separate do-check-equal into same plus do-check-not-equal; it's less complex. dylan-lang#139
* Use multi-line output with "want" and "got" values, and detailed output if present, on separate lines. * Don't sort detail results since they aren't guaranteed to be sortable. * Separate do-check-equal into same plus do-check-not-equal; it's less complex. dylan-lang#139
* Use multi-line output with "want" and "got" values, and detailed output if present, on separate lines. * Don't sort detail results since they aren't guaranteed to be sortable. * Separate do-check-equal into same plus do-check-not-equal; it's less complex. dylan-lang#139
Current
|
I'd like to see several improvements to Testworks output:
--progress failures
I suppose. i.e., don't display pass, not implemented, expected to fail.test-output:testworks
and should by default go totest-temp-directory()/test-name.log
and there can be an option to also send it to the console.--test-output=all
, for example...not sure of name.make check
(--report json --report-file foo.json
) I still want the final count of passing/failing tests to be shown on the terminal.--load
so they can be associated with their .so file and we can execute them in that same order and display the .so filename before any progress output for that set of tests. (The output frommake check
is currently pretty random and hard to know what tests belong to what library.)Those are my thoughts. We'll see how it develops.
The text was updated successfully, but these errors were encountered: