Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bin(run-tests): improve status messages (#305)
Changes: - Print the exercise name in its canonical kebab-case form, not its snake_case form. - Improve ellipsis usage. - Prefix error messages with Error, being consistent with the style in a recent commit [1]. - Add quotes around a path. - Consistently use "directory", not "folder". - Consistently write status messages to stderr. Note that the `zig test` output goes to stderr. Before this commit: $ bin/run-tests > /dev/null All 9 tests passed. All 50 tests passed. All 13 tests passed. [...] With this commit: $ bin/run-tests > /dev/null Running tests for acronym... All 9 tests passed. Running tests for allergies... All 50 tests passed. Running tests for armstrong-numbers... All 13 tests passed. [...] [1] 7ff0372, 2023-08-23, "bin(run-tests): error for missing example"
- Loading branch information