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

Feature request: allow multiple --report flags #407

Open
jwoudenberg opened this issue Jan 27, 2020 · 1 comment
Open

Feature request: allow multiple --report flags #407

jwoudenberg opened this issue Jan 27, 2020 · 1 comment

Comments

@jwoudenberg
Copy link
Collaborator

I'd love to be able to run elm-test --report junit.xml --report console. This would allow me to program a single command that runs both in CI and on developmen.

Benefits of doing this over having separate commands for CI and local development:

  • Less complexity (branching) in my test harness code. For example, the example command above could be copied as is into a package.json test hook and make npm test do something useful in CI and on development.
  • Fewer differences between how tests run on CI and locally means there's a smaller chance that problems on CI proof difficult to reproduce locally.

It would mean that elm-test would need to be able to run XML output directly to a file, to avoid printing human-readable and XML output both to stdout.

@lydell
Copy link
Collaborator

lydell commented Nov 5, 2020

Similar issue: #254

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

No branches or pull requests

2 participants