Please log in to watch this conference skillscast.
Property-based testing consist of generating random values and check that some properties hold on the result of the function under tests. This technique is manifested for example in the QuickCheck library. The QuickCheck library provides conjunction, disjunction and implication combinators to form complex properties from simple ones, but in case of failure the reason of failure is not clear.
Specification Based technique can be formalized in modern Haskell. This formalization can be used to aim traceability of test failures. At the same time it keeps the compositional structures of the Property based resulting a clean and readable testsuite and software architecture. The result of test design can be reused in different levels of testing, from unit, integration, stress, etc. In this talk, you will discover the Specification-Based techniques through their Haskell implementation, and you will explore an example the testing of a semi-complex application.
YOU MAY ALSO LIKE:
- Lightning Talk: The Anatomy of an X-GRIN Back End. Showcase: Idris. (SkillsCast recorded in October 2019)
- Keynote — Haskell: What To Do When Success Can't Be Avoided (SkillsCast recorded in November 2021)
- Designing and Verifying Programs with Formal Specification (SkillsCast recorded in November 2021)
Lightning Talk: Properties Meets Quality Assurance Test Design Principles
Andor is a Haskell developer and enthusiast, interested in theoretical computer science, he has industrial experience with functional and object oriented programming, QA engineering, learns dependently typed programming and playing the hangdrum. Andor has recently revived his interest in compiler construction.