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

create_all_combinations and create_all_pairs methods would be useful #133

Open
jmasonlee opened this issue Jan 16, 2023 · 3 comments
Open

Comments

@jmasonlee
Copy link
Contributor

Sometimes I need to generate all combinations or all pairs of inputs, and then write a custom verify that concatenates and transforms the output of things so that it looks right.

I would like a method that would allow me to create all combinations of inputs so that I can customize what comes after and verify the output with verify_storyboard, or verify, or verify_all, whatever is appropriate

@jmasonlee
Copy link
Contributor Author

Other options would be good too, I don't necessarily need these particular methods, but basically, I'd like to be able to write a custom verify method, but use the existing approvals code to generate multiple inputs for it

@nitsanavni
Copy link
Contributor

Could you provide an example?

@nitsanavni
Copy link
Contributor

@jmasonlee I see there's this:
def get_best_covering_pairs()

Not sure it's callable by user code...

And internally it's using allpairspy

Is that useful?

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