• Medientyp: E-Artikel
  • Titel: FitSpec: refining property sets for functional testing
  • Beteiligte: Braquehais, Rudy; Runciman, Colin
  • Erschienen: Association for Computing Machinery (ACM), 2018
  • Erschienen in: ACM SIGPLAN Notices, 51 (2018) 12, Seite 1-12
  • Sprache: Englisch
  • DOI: 10.1145/3241625.2976003
  • ISSN: 0362-1340; 1558-1160
  • Schlagwörter: Computer Graphics and Computer-Aided Design ; Software
  • Entstehung:
  • Anmerkungen:
  • Beschreibung: This paper presents FitSpec, a tool providing automated assistance in the task of refining sets of test properties for Haskell functions. FitSpec tests mutant variations of functions under test against a given property set, recording any surviving mutants that pass all tests. The number of surviving mutants and any smallest survivor are presented to the user. A surviving mutant indicates incompleteness of the property set, prompting the user to amend a property or to add a new one, making the property set stronger. Based on the same test results, FitSpec also provides conjectures in the form of equivalences and implications between property subsets. These conjectures help the user to identify minimal core subsets of properties and so to reduce the cost of future property-based testing.