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

Configuration #13

Open
davidjgoss opened this issue Feb 16, 2025 · 0 comments
Open

Configuration #13

davidjgoss opened this issue Feb 16, 2025 · 0 comments

Comments

@davidjgoss
Copy link
Collaborator

Currently there are no configuration options for cucumber-node - everything hangs off what node --test does from its own arguments.

But we'll need some configuration options sooner or later. Examples:

It's fair to assume that users will want to:

  • Have some options that always apply, in a file
  • Override those options run-by-run, sometimes

As with other things, we want to lean into Node.js conventions and not reinvent the wheel. So environment variables seem like the way to go - they can be set externally or from a script, but also Node.js has first-class support for one or more .env files to cover the persistent case.

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

1 participant