Using AI as a Red Team for Property-Based Testing
Most developers use AI coding assistants as high-speed autocomplete to generate repetitive unit tests. But unit testing only validates what you already expected. By shifting AI into an adversarial 'red team' partner, we can generate property-based tests that uncover hidden edge cases, invalid state transitions, and boundary conditions before they reach production.