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

Introduce test runner options #311

Merged
merged 3 commits into from
Jul 14, 2021
Merged

Introduce test runner options #311

merged 3 commits into from
Jul 14, 2021

Conversation

ctrochalakis
Copy link
Contributor

Allow passing command-line options to the test runner like --grep and --environment to make development easier.

I used arg which is already a dependency (required by ts-node).

You can now limit the tests to be executed by by running:

$ yarn test --grep VisitTests
It can be used to filter environments by browser name.
@dhh dhh merged commit 4d42a38 into hotwired:main Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants