The Software Foundations series is a broad introduction to the mathematical underpinnings of reliable software.
QuickChick: Property-Based Testing in Coq introduces tools and techniques for combining randomized property-based testing with formal specification and proof in the Coq ecosystem.