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

gauge_clear_state_level = spec not working as expected #159

Open
rogerjak opened this issue May 6, 2021 · 0 comments
Open

gauge_clear_state_level = spec not working as expected #159

rogerjak opened this issue May 6, 2021 · 0 comments

Comments

@rogerjak
Copy link

rogerjak commented May 6, 2021

Gauge 1.1.8 gauge-dotnet 0.3.1

When setting gauge_clear_state_level to spec it still creates more than one instance of the implementation.
I have a base class and in the constructor I print whenever it's created.
Then my implementation inherits from that base and I add two scenarios.
I expect the ctor to be called just once for the entire spec, but it's called twice; once for the spec and then again for the first scenario.

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

No branches or pull requests

1 participant