Allow to run arguments from other CLI in version 7
See original GitHub issueSince Cucumber is a test runner that’s be used in test frameworks, it’s very useful to be able to use command line arguments from the test framework being used. This is currently possible in Cucumber < 7 (except in parallel), in 7 the result is unknown option --<argument>
I know that other tools don’t generally allow this but I think that for cucumber it does make sense since it’s agnostic to the test tool being run with and enabling the use of command line arguments of the tool in question is an important part of using it. Being able to do it in parallel would be just as helpful.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Understanding Command Line Arguments and How to Use ...
Command line arguments are extra commands you can use when launching a program so that the program's functionality will change.
Read more >Command-line syntax overview for System.CommandLine
An introduction to the command-line syntax that the System.CommandLine library recognizes by default. Mentions exceptions where syntax in ...
Read more >Python Command Line Arguments
Python command line arguments are the key to converting your programs into useful and enticing tools that are ready to be used in...
Read more >Sending command line arguments to npm script - Stack Overflow
npm 2 and newer. It's possible to pass args to npm run since npm 2 (2014). The syntax is as follows: npm run...
Read more >Command Line Arguments in Python - Stack Abuse
Python 3 supports a number of different ways of handling command line arguments. The built-in way is to use the sys module. In...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Having seen https://github.com/wix/Detox/issues/2487#issuecomment-734929243 (thanks @karlmarxlopez for linking that up) I think we can close this, Detox’s change seems like the right way to me.
@davidjgoss Yup, I’m (we) are using
detox.init()
method on thehooks
of cucumber, but you can’t pass a flag like--headless
and other args/flags (as @j320 mentioned) on the configuration.The workaround I posted above is to dynamically set a single configuration, which
Detox
automatically selects.