# API Sanity Autotest

**URL:** <https://discuss.avogadro.cc/t/api-sanity-autotest/1749>\
**Category:** Development\
**Created:** [February 21, 2010, 12:25pm UTC](https://discuss.avogadro.cc/t/api-sanity-autotest/1749 "2010-02-21T12:25:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Konstantin\_Tokarev](https://discuss.avogadro.cc/letter_avatar_proxy/v4/letter/k/ecd19e/32.png) [@Konstantin\_Tokarev](https://discuss.avogadro.cc/u/Konstantin_Tokarev)\
**Post date:** [February 21, 2010, 12:25pm UTC](https://discuss.avogadro.cc/t/api-sanity-autotest/1749/1 "2010-02-21T12:25:11Z")

</div>

I’ve got to know about API Sanity Autotest  
"It helps to quickly generate simple (“sanity”  
or “shallow”-quality) tests for all functions from the library API using  
their signatures and data type definitions straight from the library  
header files. The quality of generated tests allows to check absence of  
critical errors in simple use cases and can be improved by involving of  
highly reusable specialized types for the library.

This tool can execute generated tests and detect all kinds of emitted signals,  
early program exits, program hanging and specified requirement failures.  
It can be considered as a tool for low-cost sanity checking of library API  
or as a powerful test development framework. Also it supports universal  
Template2Code format of tests, random test generation mode and other useful  
features. This tool is free software: you can redistribute it and/or modify  
it under the terms of the GNU GPLv2. "

[http://ispras.linux-foundation.org/index.php/API\_Sanity\_Autotest](http://ispras.linux-foundation.org/index.php/API_Sanity_Autotest)

> Qt does guarantee API/ABI stability

[http://linuxtesting.org/api-sanity-autotest/test\_results/libQtCore/4.6.0/test\_results.html](http://linuxtesting.org/api-sanity-autotest/test_results/libQtCore/4.6.0/test_results.html)  
(17 tests of 2936 failed)

–  
Regards,  
Konstantin
