| 1 |
Source: api-sanity-checker |
| 2 |
Section: devel |
| 3 |
Priority: optional |
| 4 |
Build-Depends: abi-compliance-checker (>= 1.98.7), debhelper (>= 9), help2man |
| 5 |
Maintainer: Mathieu Malaterre <[email protected]> |
| 6 |
Standards-Version: 3.9.8 |
| 7 |
Homepage: https://github.com/lvc/api-sanity-checker |
| 8 |
|
| 9 |
Package: api-sanity-checker |
| 10 |
Architecture: all |
| 11 |
Depends: abi-compliance-checker (>= 1.99), ${misc:Depends}, ${perl:Depends} |
| 12 |
Suggests: doc-base |
| 13 |
Description: automatic generator of basic unit tests for a C/C++ library API |
| 14 |
API Sanity Checker is an automatic generator of basic unit tests for a C/C++ |
| 15 |
library. It helps to quickly generate simple ("sanity" or "shallow" quality) |
| 16 |
tests for every function in an API using their signatures, data type |
| 17 |
definitions and relationships between functions straight from the library |
| 18 |
header files ("Header-Driven Generation"). Each test case contains a function |
| 19 |
call with reasonable (in most, but unfortunately not all, cases) input |
| 20 |
parameters. The quality of generated tests allows one to check absence of |
| 21 |
critical errors in simple use cases and can be greatly improved by involving of |
| 22 |
highly reusable specialized types for the library. |
| 23 |
. |
| 24 |
The tool can execute generated tests and detect crashes, aborts, all kinds of |
| 25 |
emitted signals, non-zero program return code, program hanging and |
| 26 |
requirement failures (if specified). The tool can be considered as a tool for |
| 27 |
out-of-box low-cost sanity checking of library API or as a test development |
| 28 |
framework for initial generation of templates for advanced tests. Also it |
| 29 |
supports universal Template2Code format of tests, splint specifications, random |
| 30 |
test generation mode and other useful features. |