Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (24 sloc) 0.651 kb
#!/usr/bin/env perl
use warnings;
use strict;
=head2
=cut
use Koha;
use C4::Context;
use Data::Dumper;
use Test::More;
use Test::Class::Load qw ( . ); # run from the t directory
KohaTest::clear_test_database();
KohaTest::create_test_database();
KohaTest::start_zebrasrv();
KohaTest::start_zebraqueue_daemon();
if ($ENV{'TEST_CLASS'}) {
# assume only one test class is specified;
# should extend to allow multiples, but that will
# mean changing how test classes are loaded.
eval "KohaTest::$ENV{'TEST_CLASS'}->runtests";
} else {
Test::Class->runtests;
}
KohaTest::stop_zebraqueue_daemon();
KohaTest::stop_zebrasrv();
Jump to Line
Something went wrong with that request. Please try again.