Proceedings of the 14th ACM SIGPLAN Workshop on Erlang 2015
DOI: 10.1145/2804295.2804298
|View full text |Cite
|
Sign up to set email alerts
|

Linking unit tests and properties

Abstract: QuickCheck allows us to verify software against particular properties. A property can be regarded as an abstraction over many unit tests. QuickCheck uses generated random input data to test such properties. If a counterexample is found, it becomes immediately clear what we have tested. This is not the case when all tests pass, since we do not (and shall not) see the actual generated test cases. How can we be sure about what is tested? QuickCheck has the ability to gather statistics about the test cases, which … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
4
0

Year Published

2016
2016
2018
2018

Publication Types

Select...
3
2

Relationship

2
3

Authors

Journals

citations
Cited by 5 publications
(4 citation statements)
references
References 12 publications
0
4
0
Order By: Relevance
“…As such, they can be impenetrable for stakeholders such as Volvo Cars. It can even be difficult to tell whether or not a particular test case can be generated (because API operations can have preconditions that might not be satisfiable) [9]. How can we know, then, whether the tests generated from a formal specification are testing the right thing?…”
Section: The Questionmentioning
confidence: 99%
“…As such, they can be impenetrable for stakeholders such as Volvo Cars. It can even be difficult to tell whether or not a particular test case can be generated (because API operations can have preconditions that might not be satisfiable) [9]. How can we know, then, whether the tests generated from a formal specification are testing the right thing?…”
Section: The Questionmentioning
confidence: 99%
“…We were asked "does your model cover this test case? ", so we developed tools to answer such questions-and when the AUTOSAR consortium released six "official" test cases for the CAN bus stack, we used them to show that three of these test cases were not covered by the model, because they were not consistent with the standard (Gerdes, Hughes, Smallbone, and Wang, 2015). We were asked: "which requirements have you tested?…”
Section: In Conclusionmentioning
confidence: 99%
“…QuickCheck started as a testing framework for testing pure functional programs [7]. However, recent development in the area of property-based testing [9,13] incorporates the state-fulness of systems. That allowed for the testing of state-ful systems and even test programs written in imperative languages such as C. Hughes assert that testing state-ful systems is challenging.…”
Section: Property-based Testingmentioning
confidence: 99%