haf / expecto

A smooth testing lib for F#. APIs made for humans! Strong testing methodologies for everyone!
Apache License 2.0
668 stars 96 forks source link

Is it possible to extend Expecto command-line options with custom ones? #273

Closed object closed 6 years ago

object commented 6 years ago

We need to send additional command-line options to an application running Expecto tests. One way is to strip custom options out of argv array and only send to a test runner the ones that Expecto expects. But is there a way to have an extended option collection, so custom options will coexist with standard ones?

haf commented 6 years ago

This depends on what Argu supports, really. I think the discussion should be there. I disable throw on unknown in Argu, and strip out the program's arguments before passing it to expecto's parser, myself.

object commented 6 years ago

This is what we are doing now before passing arguments to expecto. Thanks for the clarification.