Skip to content
Snippets Groups Projects
Commit 8a6ca145 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- added some basic tests

parent 1b665304
No related branches found
No related tags found
No related merge requests found
#!perl -T
use Test::More tests => 1;
BEGIN {
use_ok( 'SLUB::LZA::Rosetta::TA' ) || print "Bail out!\n";
}
diag( "Testing SLUB::LZA::Rosetta::TA $SLUB::LZA::Rosetta::TA::VERSION, Perl $], $^X" );
#!perl -T
use 5.006;
use strict;
use warnings;
use Test::More;
unless ( $ENV{RELEASE_TESTING} ) {
plan( skip_all => "Author tests not required for installation" );
}
my $min_tcm = 0.9;
eval "use Test::CheckManifest $min_tcm";
plan skip_all => "Test::CheckManifest $min_tcm required" if $@;
ok_manifest();
#!perl -T
use 5.006;
use strict;
use warnings;
use Test::More;
unless ( $ENV{RELEASE_TESTING} ) {
plan( skip_all => "Author tests not required for installation" );
}
# Ensure a recent version of Test::Pod::Coverage
my $min_tpc = 1.08;
eval "use Test::Pod::Coverage $min_tpc";
plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage"
if $@;
# Test::Pod::Coverage doesn't require a minimum Pod::Coverage version,
# but older versions don't recognize some common documentation styles
my $min_pc = 0.18;
eval "use Pod::Coverage $min_pc";
plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage"
if $@;
all_pod_coverage_ok();
#!perl -T
use 5.006;
use strict;
use warnings;
use Test::More;
unless ( $ENV{RELEASE_TESTING} ) {
plan( skip_all => "Author tests not required for installation" );
}
# Ensure a recent version of Test::Pod
my $min_tp = 1.22;
eval "use Test::Pod $min_tp";
plan skip_all => "Test::Pod $min_tp required for testing POD" if $@;
all_pod_files_ok();
#!/usr/bin/perl -w
use strict;
use warnings;
use diagnostics;
use Test::More tests => 10;
use Test::Exception;
# simple tests
use_ok("SLUB::LZA::Rosetta::TA");
use_ok("SLUB::LZA::Rosetta::TA::Crypt");
use_ok("SLUB::LZA::Rosetta::TA::Log");
use_ok("SLUB::LZA::Rosetta::TA::SOAP");
use_ok("SLUB::LZA::Rosetta::TA::SRU");
use_ok("SLUB::LZA::Rosetta::TA::common_sru");
use_ok("SLUB::LZA::Rosetta::TA::Command::count");
use_ok("SLUB::LZA::Rosetta::TA::Command::init");
use_ok("SLUB::LZA::Rosetta::TA::Command::log");
use_ok("SLUB::LZA::Rosetta::TA::Command::search");
1;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment