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

filtering tests #128

Open
joaomilho opened this issue Jan 15, 2020 · 2 comments
Open

filtering tests #128

joaomilho opened this issue Jan 15, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@joaomilho
Copy link

I don't see any example on how to run tests but passing params to jest, for instance, to filter tests.

jest testToRun
yarn test testToRun // assuming the test script configs dockest

Any code samples?

@erikengervall
Copy link
Owner

The only options available for Jest are their CLI-options which can be passed in the dockest opts.

I'd love to have a dockest CLI which forwards jest opts seamlessly, just haven't had the time to get around to it. If your use-case is local development you can check out usage of dev: true.

@erikengervall erikengervall added enhancement New feature or request help wanted Extra attention is needed labels Jan 18, 2020
@erikengervall
Copy link
Owner

erikengervall commented Feb 28, 2020

Happy news: there's a first draft of a CLI 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants