zlacker

[parent] [thread] 4 comments
1. kqr+(OP)[view] [source] 2021-10-27 18:44:34
If you're looking for test case generation there are already mature tools for that. I doubt anything generic could improve on those.
replies(1): >>ericle+J1
2. ericle+J1[view] [source] 2021-10-27 18:52:17
>>kqr+(OP)
any suggestions for said tools?
replies(2): >>priona+14 >>svieir+26
◧◩
3. priona+14[view] [source] [discussion] 2021-10-27 19:03:16
>>ericle+J1
Hypothesis for Python.

Schemathesis builds on Hypothesis and generates tests from OpenAPI specs.

replies(1): >>dmitry+h92
◧◩
4. svieir+26[view] [source] [discussion] 2021-10-27 19:13:29
>>ericle+J1
QuickcCheck-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

* Hypothesis: https://hypothesis.readthedocs.io/en/latest/

* 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

* 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/

◧◩◪
5. dmitry+h92[view] [source] [discussion] 2021-10-28 13:06:36
>>priona+14
And from GraphQL APIs as well :)
[go to top]