Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Only use representative input arguments in generated tests #354

Open
casperboone opened this issue Nov 7, 2018 · 0 comments
Open

Only use representative input arguments in generated tests #354

casperboone opened this issue Nov 7, 2018 · 0 comments
Labels
enhancement New feature or request long-term Requires lots of work

Comments

@casperboone
Copy link
Member

Currently, we generate tests that give all kinds of random input to the 'free variables' of a discovered pattern. However, these free variables can have certain properties in the original project where a pattern is found (e.g. non-null). In the case a variable has a non-null guarantee, but we still give null as input, the test-pattern combination is not representative for real life use.

@casperboone casperboone added the long-term Requires lots of work label Nov 7, 2018
@FWDekker FWDekker added the enhancement New feature or request label Nov 7, 2018
@casperboone casperboone changed the title Only use representative input arguments in tests Only use representative input arguments in generated tests Nov 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request long-term Requires lots of work
Projects
None yet
Development

No branches or pull requests

2 participants