ROSA tools in upstream

From Rosalab Wiki
Jump to: navigation, search
(Created page with "While creating ROSA, we not only develop and adapt different packages for our distribution, but also design new tools for other developers. One of such tools is [http://en.wi...")
 
m
Line 3: Line 3:
 
One of such tools is [http://en.wikipedia.org/wiki/API_Sanity_Checker API Sanity Checker], which is aimed to automatically generate tests for C++/C libraries.
 
One of such tools is [http://en.wikipedia.org/wiki/API_Sanity_Checker API Sanity Checker], which is aimed to automatically generate tests for C++/C libraries.
  
For its work, the tool requires only header files with declarations of library functions (and all necessary data types).  Using this information, API Sanity Checker generates tests that calls every function from the library with proper arguments. Usually these automatically generated tests are used as a template for developing more complex sets (with enumeration of different values of parameters, their combinations, etc).
+
For its work, the tool requires only header files with declarations of library functions (and all necessary data types).  Using this information, <tt>API Sanity Checker</tt> generates tests that calls every function from the library with proper arguments. Usually these automatically generated tests are used as a template for developing more complex sets (with enumeration of different values of parameters, their combinations, etc).
  
 
The tool is absolutely free (the source code can be found [https://github.com/lvc/api-sanity-checker/ here]) and can be used by everybody. For example, not so far <tt>API Sanity Checker</tt> has been [https://cta-redmine.irap.omp.eu/issues/579 integrated] in the development cycle of the [http://gammalib.sourceforge.net/ GammaLib] library. As a result of the tool's work, 11 errors were found and fixed in that library (https://cta-jenkins.irap.omp.eu/job/gammalib-sanity/5/changes, https://cta-jenkins.irap.omp.eu/job/gammalib-sanity/6/changes).
 
The tool is absolutely free (the source code can be found [https://github.com/lvc/api-sanity-checker/ here]) and can be used by everybody. For example, not so far <tt>API Sanity Checker</tt> has been [https://cta-redmine.irap.omp.eu/issues/579 integrated] in the development cycle of the [http://gammalib.sourceforge.net/ GammaLib] library. As a result of the tool's work, 11 errors were found and fixed in that library (https://cta-jenkins.irap.omp.eu/job/gammalib-sanity/5/changes, https://cta-jenkins.irap.omp.eu/job/gammalib-sanity/6/changes).

Revision as of 01:56, 8 May 2013

While creating ROSA, we not only develop and adapt different packages for our distribution, but also design new tools for other developers.

One of such tools is API Sanity Checker, which is aimed to automatically generate tests for C++/C libraries.

For its work, the tool requires only header files with declarations of library functions (and all necessary data types). Using this information, API Sanity Checker generates tests that calls every function from the library with proper arguments. Usually these automatically generated tests are used as a template for developing more complex sets (with enumeration of different values of parameters, their combinations, etc).

The tool is absolutely free (the source code can be found here) and can be used by everybody. For example, not so far API Sanity Checker has been integrated in the development cycle of the GammaLib library. As a result of the tool's work, 11 errors were found and fixed in that library (https://cta-jenkins.irap.omp.eu/job/gammalib-sanity/5/changes, https://cta-jenkins.irap.omp.eu/job/gammalib-sanity/6/changes).

We recommend all upstream developers of different C/C++ libraries to follow this successful example. The resources to create test set is minimal, but number of errors found can be really great.

[ List view ]Comments

(no items)

Please login to comment.