-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
ideaThinking neededThinking neededmediumDaysDaysp2Someday we should do it. I hopeSomeday we should do it. I hope
Description
📝 Description
This issue proposes the introduction of Property-Based Testing (PBT) to systematically explore the state space of our logic by asserting "Invariants" (properties) that must hold true for any valid input.
🛠 Plan
- Introduce Tooling: Research and select a Go PBT framework.
- Candidates:
github.com/leanovate/gopterortesting/quick.
- Candidates:
- CI Integration:
- Integrate PBT into
go test ./.... - Start with a low iteration count (e.g.,
100runs) to keep CI fast.
- Integrate PBT into
- Brainstorm:
- Figure out how PBT works in details
- Create clear vision on what exactly and how could and should be tested
- Implement
- Integrate real PBT into the codebase
🚀 Benefits
- Bug Discovery
- More Refactoring Confidence
- Crash Prevention
Metadata
Metadata
Assignees
Labels
ideaThinking neededThinking neededmediumDaysDaysp2Someday we should do it. I hopeSomeday we should do it. I hope