Main Koha release repository https://koha-community.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Julian Maurice 96cc447045 Bug 25898: Prohibit indirect object notation 4 years ago
..
000_sc_config_auth.t Bug 26384: Fix executable flags 4 years ago
00sc_status.t Bug 26384: Fix executable flags 4 years ago
01patron_status.t Bug 26384: Fix executable flags 4 years ago
02patron_info.t Bug 26384: Fix executable flags 4 years ago
03checkout.t Bug 26384: Fix executable flags 4 years ago
04patron_status.t Bug 26384: Fix executable flags 4 years ago
05block_patron.t Bug 26384: Fix executable flags 4 years ago
06patron_enable.t Bug 26384: Fix executable flags 4 years ago
07hold.t Bug 26384: Fix executable flags 4 years ago
08checkin.t Bug 26384: Fix executable flags 4 years ago
09renew.t Bug 26384: Fix executable flags 4 years ago
10renew_all.t Bug 26384: Fix executable flags 4 years ago
11item_info.t Bug 26384: Fix executable flags 4 years ago
Makefile SIP/t - test files adapted, supplemented, expanded. Note: requires matching data to be loaded. 16 years ago
README adding openncip / opensip SIP2 service 17 years ago
SIPtest.pm Bug 25898: Prohibit indirect object notation 4 years ago

README

CONFIGURING THE TEST SUITE

Before you can run the test suite, you need to configure certain
information about the SIP server and the ILS data in the file
SIPtest.pm.

RUNNING THE TESTS

Every file tests a different protocol transaction.
Unfortunately, a lot of test cases are missing, but the basics
are tested, as are most of the simple error conditions (invalid
users, unknown items, checking in item that's not checked out).

To run a single test, just run

perl -I.. <file>

If the test fails, the output should be pretty clear about what
went wrong (assuming you can read raw SIP packets).

To run all the tests, just type

make test

Right now, that will run tests for functionality that isn't
supported in the Evergreen environment (the two main cases are
enable patron and hold management). To run just the Evergreen tests, use

make test-openils

which will run just the tests

00sc_status.t
01patron_status.t
02patron_info.t
03checkout.t
06patron_enable.t
08checkin.t
09renew.t
11item_info.t