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

No way to customize the path of test files #34

Closed
barumrho opened this issue Sep 28, 2018 · 2 comments
Closed

No way to customize the path of test files #34

barumrho opened this issue Sep 28, 2018 · 2 comments

Comments

@barumrho
Copy link

barumrho commented Sep 28, 2018

As far as I can tell, there is no way to customize the path where the tests are.

Previously, we could use the elm-test TESTFILES option, but that seems to look for tests directory now.

For example:

elm-test src/test/elm/**/*.elm
Error: /.../src/test/elm/tests does not exist. Please create a tests/ directory in your project root!

It would be nice if we could specify in elm.json: test-directories similar to source-directories option.

@michaeljones
Copy link

michaeljones commented Nov 6, 2018

I'm not involved with this project but I think this might be more of a node-test-runner issue? Also, elm-test src/**/*Test.elm works for me on the 0.19.0-beta10 release of elm-test on npm, if that helps at all.

@barumrho
Copy link
Author

Thanks for this update. I tried the latest beta (0.19.0-beta12) and I was able to get it working again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants