Replies: 2 comments 5 replies
-
Hey! Thank you for your kind words! Doesn't the standard error reporting contain sufficient info to reproduce a failure? If it is not enough, you can use cassettes & explore all the logs that are stored in YAML |
Beta Was this translation helpful? Give feedback.
-
Actually, I'm wondering this myself. Here's the sample code I'm testing:
Here's my property_based_tests.py file:
Schemathesis produces this output when I run pytest -vv property_based.tests.py:
I already happen to know what parameters can cause this error, but I keep expecting it to show me what parameters it used. Am I missing some easy way to see which API parameters resulted in the error? Do cassettes need to be used for that? I'm going to be showing schemathesis for a presentation, so I want to make sure I represent its usage correctly. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Thanks for an outstanding application for testing APIs.
I am just starting to experiment with it, and after running against the API under test, I looked at all of the output (jsons etc.).
I am trying to find what the inputs were for a few given cases in order to understand why those cases failed. E.g., maybe a transaction ID was set to 0, negative, or some other non-valid value.
It looks like it is connected to the schema ID?
Thanks again!
Kind regards,
Guy
Beta Was this translation helpful? Give feedback.
All reactions