📝 Add page on "What is property-based testing" and modify "Why property-based testing" #6430
+97
−23
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
As discussed in issue #6331, I think it would be helpful to tell new users what property-based testing is before trying to show them how to do it. I've added a new page at the front of the introduction which aims to do this. I've also made modifications to the "Why Property-Based Testing" page, largely to try to harmonize the two, but also to add some additional points which I feel were missed.
I'm happy to provide background on why I made each of the changes, if desired, or to make/revert any edits as requested.
Checklist
pnpm run bumpand flag the impacts properlyI'm not clear on whether I was supposed to run
bumpfor a documentation change, so I left it out. Please let me know if that was incorrect!Advanced