cucumber-rs / cucumber

Cucumber testing framework for Rust. Fully native, no external test runners or dependencies.
https://cucumber-rs.github.io/cucumber/main
Apache License 2.0
563 stars 69 forks source link

Question: the cucumbers library would also automatically intercept command line parameters, resulting in an unexpected argument '* found error being reported #293

Closed konghaiya closed 1 year ago

konghaiya commented 1 year ago

Question:

We used cucumbers to create our testing framework, but we found that when we wanted to add the clip:: Parser startup parameter to the testing framework, the cucumbers library would also automatically intercept command line parameters, resulting in an unexpected argument '* found error being reported But in the startup parameters added in the upper layer, the - h option can take effect

Is there a way for cucumbers to either block or ignore command-line parameters