API Sanity Checker is an automatic
unit test
In computer programming, unit testing is a software testing method by which individual units of source codeāsets of one or more computer program modules together with associated control data, usage procedures, and operating procedures&m ...
generator for C/C++
shared libraries
In computer science, a library is a collection of non-volatile resources used by computer programs, often for software development. These may include configuration data, documentation, help data, message templates, pre-written code and su ...
.
The main feature of this tool is the ability to completely automatically generate reasonable (in most, but unfortunately not all, cases) input arguments for every
API
An application programming interface (API) is a way for two or more computer programs to communicate with each other. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how ...
function straight from the library
header files
Many programming languages and other computer files have a directive, often called include (sometimes copy or import), that causes the contents of the specified file to be inserted into the original file. These included files are called copybooks ...
. The tool can be used as a
smoke test or
fuzzer
In programming and software development, fuzzing or fuzz testing is an automated software testing technique that involves providing invalid, unexpected, or random data as inputs to a computer program. The program is then monitored for exception ...
for a library API to catch serious problems like crashes or program hanging.
See also
*
List of unit testing frameworks
This article is a list of tables of code-driven unit testing frameworks for various programming languages. Some, but not all, of these are based on xUnit.
Columns (classification)
* Name: This column contains the name of the framework and wi ...
*
Sanity testing in software development
References
{{reflist
Software testing tools