The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Name

README.Testing.pod

Purpose

The purpose of Testing directory is to provide test scripts to test the correct functionality of the programs provided with this distribution. The test scripts can be run to make sure that package is installed properly and all required system paths are set. This also helps us to test backward compatibility of programs when programs are upgraded.

Organization

Testing Dir contains various sub directories, each of which tests individual program of this package.

Each subdirectory has various .sh test files written in Cshell script. All tests that test behavior of a program under normal conditions can be run using a script normal-op.sh(found in each sub-dir). Similarly, error-op.sh scripts (in sub-dirs) test program behavior under error conditions.

All test scripts in all the program directories can be run with a single command testall.sh. (subtestall.sh is internally called by testall.sh and shouldn't be run independantly)

If everything is fine, you will see

STATUS : OK messages for each of these tests.

If the package is not installed rightly or paths not set, Tests will show

STATUS : ERROR message.

Copying

This suite of programs is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Note: The text of the GNU General Public License is provided in the file GPL.txt that you should have received with this distribution.

Acknowledgment

This work has been partially supported by a National Science Foundation Faculty Early CAREER Development award (#0092784).