dev:contributing:qa
Table of Contents
This is an old revision of the document!
QA Requirements for Evergreen Code Contributions
Types of Tests
Perl Unit Tests
Perl unit tests exercise Perl functions which can be executed without a running Evergreen system. They are built using Perl's http://perldoc.perl.org/Test/More.html
Files are kept in the Evergreen repository under Open-ILS/src/perlmods/t/.
For a simple example, see Open-ILS/src/perlmods/t/01-OpenILS-Application.t. Of note is the following section of code which tests a Perl function in the AppUtils.pm module:
is( OpenILS::Application::AppUtils::entityize(0, 'èöçÇÈÀ'), 'èöçÇÈÀ', 'entityize: diacritics' );
dev/contributing/qa.1422032333.txt.gz · Last modified: 2022/02/10 13:34 (external edit)