From what I’ve seen BDD rely on Examples Based Testing, and if you read some articles about Property based testing you’ll noticed that authors used to say that Example based testing is not suitable when it come cover some edge cases Just want to have your thought about Property Based Testing vs BDD, I’ve not finished reading the book “BDD in Action”
BDD is a discovery practice, not a testing practice, it's where you have conversations to identify and explore edge cases. Example-based approaches are very good at finding edge cases if you use them properly - if you stick to "happy-day" scenarios, not so much, but of course if you only explore "happy-day" scenarios, you aren't doing a very good job in your discovery sessions. Property-based testing is a modeling technique that you can use to help automate this discovery later on, so they are complementary techniques.
Good afternoon!! Could you share the sample project in a git repository?
From what I’ve seen BDD rely on Examples Based Testing, and if you read some articles about Property based testing you’ll noticed that authors used to say that Example based testing is not suitable when it come cover some edge cases
Just want to have your thought about Property Based Testing vs BDD, I’ve not finished reading the book “BDD in Action”
BDD is a discovery practice, not a testing practice, it's where you have conversations to identify and explore edge cases. Example-based approaches are very good at finding edge cases if you use them properly - if you stick to "happy-day" scenarios, not so much, but of course if you only explore "happy-day" scenarios, you aren't doing a very good job in your discovery sessions.
Property-based testing is a modeling technique that you can use to help automate this discovery later on, so they are complementary techniques.