cucumber-js icon indicating copy to clipboard operation
cucumber-js copied to clipboard

Support more configuration formats

Open TzviPM opened this issue 1 year ago • 0 comments

🤔 What's the problem you're trying to solve?

I am using cucumber in a typescript porject and I would like to use typescritp for my cucumber config file as well.

✨ What's your proposed solution?

Webpack has really good support for this type of thing: https://webpack.js.org/configuration/configuration-languages/

Their solution makes use of node-interpret, and I think we could use the same approach here: https://github.com/gulpjs/interpret

⛏ Have you considered any alternatives or workarounds?

One workaround that I'm currently using is to use jsdoc annotations in a js config file.

📚 Any additional context?

No response

TzviPM avatar Nov 28 '24 00:11 TzviPM