Explore the latest advancements in automated testing for Dafny programs through this 17-minute conference talk presented at ACM SIGPLAN. Delve into the capabilities of DTest, a toolkit designed to enhance confidence in Dafny code execution. Learn how DTest enables runtime verification of proven properties and facilitates comparison with existing reference implementations. Witness a live demonstration using an illustrative Dafny program that formalizes chess rules, showcasing DTest's ability to generate targeted test cases for complex scenarios. Discover how DTest leverages the Dafny verifier to efficiently select specific chess positions, outperforming traditional fuzzing techniques in certain contexts. Examine the newly introduced coverage report feature, which identifies provably unreachable code segments. Gain insights into how DTest's system-level test generation and dead code identification can help developers uncover conflicting specifications and potential implementation bugs in their Dafny projects.
Overview
Syllabus
[Dafny'24] Dafny Test Generation
Taught by
ACM SIGPLAN