-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Desired behavior
Some of our existing gz-math tests are already structured like property-based tests, so convert some of them to use FuzzTest. They should still be able to work as unit tests, but when run with a fuzzing engine, they may find more edge cases instead of the current hard-coded test cases.
Alternatives considered
Implementation suggestion
For example, the following tests are candidates:
- https://github.com/gazebosim/gz-math/blob/gz-math8/src/Helpers_TEST.cc#L513-L528
- https://github.com/gazebosim/gz-math/blob/gz-math8/src/Inertial_TEST.cc#L206-L272
- https://github.com/gazebosim/gz-math/blob/gz-math8/src/Inertial_TEST.cc#L318-L371
For a first prototype, I would use a vendored copy of fuzztest (similar to our gtest_vendor folder), but we would need to decide whether we want to vendor it or not.
Additional context
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Type
Projects
Status
Inbox