Skip to content
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

Test runner CLI - zinnia test #215

Open
bajtos opened this issue May 16, 2023 · 0 comments
Open

Test runner CLI - zinnia test #215

bajtos opened this issue May 16, 2023 · 0 comments
Labels
feature New feature or request modules:javascript Things related to writing modules in JavaScript

Comments

@bajtos
Copy link
Member

bajtos commented May 16, 2023

Add a new CLI command zinnia test for running the tests.

Examples to consider

Run all tests in the current project:

❯ zinnia test

Run all tests in a single file:

❯ zinnia test path/to/file.js

Run all tests matching a given pattern:

❯ zinnia test --filter "a substring or a regexp"

Notes

  • Ideally, this should allow us to remove the final line Error: Uncaught [some test(s) failed] printed as a side effect of setting the process exit code to a non-zero value.
@bajtos bajtos added feature New feature or request modules:javascript Things related to writing modules in JavaScript labels May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request modules:javascript Things related to writing modules in JavaScript
Projects
None yet
Development

No branches or pull requests

1 participant