- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 7
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
We can employ cargo-fuzz or cargo-afl to find two jsonschemas that are not compatible with each other, but produce no diff by the tool.
afl produces a random bytestring. we
- parse that bytestring into a lhs schema, a rhs schema, and a payload that we should validate against both schemas
- if that parsing already fails, just pass the test
- if the payload validates against both schemas, pass the test
- if the payload validates against lhs but not rhs, AND json-schema-diff produces no breaking changes, crash
on steps 2 and 3, we will discard a lot of payloads. afl will complain about this and say that coverage does not increase. but it will likely still find a lot of cases, if running long enough.
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed