Skip to content

Introduce test runner options#311

Merged
dhh merged 3 commits into
hotwired:mainfrom
ctrochalakis:test-options
Jul 14, 2021
Merged

Introduce test runner options#311
dhh merged 3 commits into
hotwired:mainfrom
ctrochalakis:test-options

Conversation

@ctrochalakis

Copy link
Copy Markdown
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.

2 participants