4 ms·
any suggestions for said tools?
by ericlewis 5y ago
any suggestions for said tools?
- prionassembly 5y agoHypothesis for Python. Schemathesis builds on Hypothesis and generates tests from OpenAPI specs.
- dmitry_dygalo 5y agoAnd from GraphQL APIs as well :)
- svieira 5y agoQuickcCheck-type tools (generators for tests that know about the edge cases of a domain - e. g. for the domain of numbers considering things like 0, the infinities, various almost-and-just-over powers of two, NaN and mantissas for floats, etc.): * QuickCheck: https://hackage.haskell.org/package/QuickCheck https://hackage.haskell.org/package/QuickCheck * Hypothesis: https://hypothesis.readthedocs.io/en/latest/ https://hypothesis.readthedocs.io/en/latest/ * JUnit QuickCheck: https://github.com/pholser/junit-quickcheck https://github.com/pholser/junit-quickcheck Fuzz testing tools (tools which mutate the inputs to a program in order to find interesting / failing states in that program). Generally paired with code coverage: * American Fuzzy Lop (AFL): https://github.com/google/AFL https://github.com/google/AFL * JQF: https://github.com/rohanpadhye/JQF https://github.com/rohanpadhye/JQF Mutation / Fault based test tools (review your existing unit coverage and try to introduce changes to your _production_ code that none of your tests catch) * PITest: https://pitest.org/ https://pitest.org/