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

Exposing Configuration (TestParams) structure in the public API #284

Open
chorig9 opened this issue Jan 28, 2022 · 0 comments
Open

Exposing Configuration (TestParams) structure in the public API #284

chorig9 opened this issue Jan 28, 2022 · 0 comments

Comments

@chorig9
Copy link

chorig9 commented Jan 28, 2022

Hi,

I was wondering if it would be possible to expose Configuration structure (or at least TestParams) in public API. It would be very useful to be able to set maxSize and maxSuccess within the code for some scenarios. The most straightforward way would be to just move definitions of those structures, along with configuration methods outside of the detail namespace. (+ make configuration return non-const reference).

Do you think it would be feasible?

Alternatively, maybe there could be an additional check overload that would accept TestParams (in such case, the values from ENV variable could override the ones passed in the code)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant