Dmitry Dygalo

Results 492 comments of Dmitry Dygalo

Here are some corrections to your example above: ```python @pytest.fixture def state_machine(): return schema.clone(endpoint="^/weekly-supply").as_state_machine() def test_statefully(state_machine): run_state_machine_as_test( state_machine, settings=settings(deadline=2000, max_examples=10), ) ``` The main thing is, that `test_statefully` should be...

> Not sure if this is correct? To achieve the goal from the issue description I'd recommend randomly override generated data. Something like this: ```python @schema.parametrize() @schema.given(data=st.data()) def test_api(data, case,...

Hi @mbiuki > Thanks for your guidance. I have fewer errors occurring based on the suggested improvements. You are very welcome! > What is the job of st.data()? Does st.data()...

Sounds like a nice feature! > One way I'm thinking of implementing this support is to treat the response data from links as an example. I may need a bit...

Most likely #724 will cover this behavior as well - I'll add separate tests for it

@buchi-busireddy The plan is to refactor the canonicalization process and carry some context around as it is needed to detect the used draft as well. So, this PR is not...

Hi! Thank you for a detailed report! This behavior is likely caused by the fact that Hypothesis re-tries failed examples multiple times even on the `explicit` phase. I almost finished...

> We already have the example where param1 is set to 0 in there. > What is weird is, that it does not generate any examples with a valid param1...

Happy to help! :) > BTW I love schemathesis. It fits perfectly for our use case! Great to hear that :) As I am planning new features and want to...

@petkostas Hi! Sorry for not getting back earlier. Yes, please, open a separate issue - at least from the first glance it looks like a problem in a different place....