File: 00-prerequisites.t

package info (click to toggle)
libtest-html-content-perl 0.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 328 kB
  • sloc: perl: 1,393; makefile: 2
file content (15 lines) | stat: -rwxr-xr-x 476 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/perl -w
use strict;
use Test::More tests => 3;

# TODO:
# * Better prerequisites checking
# * Split up the tests into separate files

# First, check the prerequisites
use_ok('Test::Builder')
  or BAILOUT("The tests require Test::Builder");
use_ok('HTML::TokeParser')
  or BAILOUT("The tests require HTML::TokeParser");
use_ok('Test::HTML::Content')
  or Test::Builder::BAILOUT("The tests require Test::HTML::Content - this shouldn't happen at all");