GCP Testing
Firestore Transaction Testing: Concurrency, Contention, and Consistency Validation
Firestore transactions are the safety net for complex multi-document operations. They guarantee that either all writes succeed or none do. But they also introduce behaviors that are easy to mistest: automatic retries, contention between concurrent transactions, and read-modify-write races. Most Firestore testing guides cover basic CRUD with