Browse Source

- fixed tc count

- add README.testsuite to describe how to test checkit_tiff correctly
development
Andreas Romeyke 2 years ago
parent
commit
8fb221bb8b
  1. 15
      README.testsuite
  2. 2
      t/test_config_examples.t

15
README.testsuite

@ -0,0 +1,15 @@
########################################################
the directory tiffs_should_pass/ contains TIFF-files that should generally be
valid. This does not mean that they have to be valid against every profile.
Rudimentary tests are available in the t/ directory to check the correctness of
checkit_tiff using Perl. The call looks like this:
$> cd t/
$> perl -I./ test_grammar.t && echo "fine!"
$> perl -I./ test_config_examples.t && echo "fine!"
$> perl -I./ test_should_pass.t && echo "fine!"
$> perl -I./ test_should_fail.t && echo "fine!"
the return code for all these runs should be zero and result in message "fine!"

2
t/test_config_examples.t

@ -4,7 +4,7 @@ use warnings;
use File::Path;
use File::Slurp;
use Testcall;
use Test::More tests => 6;
use Test::More tests => 7;
my $testdir=prepare();

Loading…
Cancel
Save