-
Notifications
You must be signed in to change notification settings - Fork 348
Closed
Labels
Description
Hi,
I've been thinking of modifying gotests to support using the testing/quick package to generate test cases
and optimize them for code coverage.
Have you thought about something similar before and is this something you would accept as a feature in the project, or is it better to fork it?
My high-level idea is to:
- Use gotests to generate tests
- Use testing/quick to generate test inputs
- Measure the code coverage while running each test inputs
- Shrink the test inputs to a minimal set that provides high coverage
Not sure how complex generating test cases for complex/nested structs will be, but it should be fairly simple for basic types.
xiaods