2011
DOI: 10.5381/jot.2011.10.1.a10
|View full text |Cite
|
Sign up to set email alerts
|

Testing with Axioms in C++ 2011.

Abstract: Unit testing is an important part of modern software development, where individual code units are tested in isolation. Such tests are typically case-based, checking a likely error scenario or an error that has previously been identified and fixed. Coming up with good test cases is challenging, particularly when testing generic code, and focusing on individual tests can distract from creating tests that cover the full functionality.Concepts provide a generic way of describing code interfaces for generic code. T… 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

2014
2014
2022
2022

Publication Types

Select...
3
2
2

Relationship

1
6

Authors

Journals

citations
Cited by 9 publications
(4 citation statements)
references
References 48 publications
0
4
0
Order By: Relevance
“…Although the proposal was ultimately rejected, the specification features as well as most of the other features can be provided through libraries such as the Catsfoot C++ template library [2].…”
Section: C++ Concepts and The Catsfoot Librarymentioning
confidence: 99%
“…Although the proposal was ultimately rejected, the specification features as well as most of the other features can be provided through libraries such as the Catsfoot C++ template library [2].…”
Section: C++ Concepts and The Catsfoot Librarymentioning
confidence: 99%
“…C ++ 20 implements a scaled back version of C ++ 0x's concepts which does not provide support for semantic constraints-but only for same-type constraints and API modeling constraints. Bagge et al previously built a testing system atop concepts and axioms implemented using template metaprogramming in C ++ 11 [4].…”
Section: Property-based Specificationsmentioning
confidence: 99%
“…These formulas are boolean expressions with free variables, thus encompassing equational and conditional equational specifications as common in algebraic specifications [10]. Boolean expressions have the benefit of being readily handled by programming language compilers and tools, allowing us to compile axioms as test oracles and systematically test a program's compliance with its specification [4]. The axiom formalism and the program code are semantically compatible, thus avoiding the semantic gap mentioned previously [78].…”
Section: :22mentioning
confidence: 99%
“…(a<b) || pair(a, 0)<pair(b, 0) -or a similar formula in a general case. Furthermore, we are intended to apply axiom-based test generation [112]. Thus the test cases could be more automated.…”
Section: Unit Testingmentioning
confidence: 99%