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

Support different levels of testing/initialization #4

Closed
ebolyen opened this issue Oct 21, 2020 · 3 comments
Closed

Support different levels of testing/initialization #4

ebolyen opened this issue Oct 21, 2020 · 3 comments

Comments

@ebolyen
Copy link
Member

ebolyen commented Oct 21, 2020

It would be good to allow registrars of this plugin to choose how many test-cases are desired. This would allow quick sanity checking and iteration without spending time exhaustively running each permutation.

This could be accomplished using reservoir sampling to decide when to use a given iteration of the product.

@Oddant1
Copy link
Member

Oddant1 commented Oct 22, 2020

That sounds reasonable. Will we be doing that during plugin registration so we only register a certain subset of the permutations? Because we just run all of the registered permutations by calling execute_examples.

@ebolyen
Copy link
Member Author

ebolyen commented Oct 22, 2020

Yep! So I imagine this plugin will generally be combined with this API which means it doesn't need to register itself, rather we can provide some factories which generate a plugin object of some degree of sophistication.

This also let's interfaces have q2-mystery-stew installed for test-runs, without having it clog up the standard interface (since q2-mystery-stew won't automatically register itself). The test case in this repo can be augmented to initialize a plugin manager and then add itself just like an interface might do.

@Oddant1
Copy link
Member

Oddant1 commented Sep 25, 2023

We have this

@Oddant1 Oddant1 closed this as completed Sep 25, 2023
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

2 participants