Parent Directory | Revision Log
added single test invocation
1 | dpavlin | 488 | #!/usr/bin/perl |
2 | use strict; | ||
3 | use warnings; | ||
4 | |||
5 | dpavlin | 506 | use Test::More tests => 3; |
6 | dpavlin | 488 | use lib 'lib'; |
7 | |||
8 | use Data::Dump qw/dump/; | ||
9 | |||
10 | my $debug = @ARGV ? 1 : 0; | ||
11 | |||
12 | BEGIN { | ||
13 | use_ok('Frey::Test::Runner'); | ||
14 | } | ||
15 | |||
16 | dpavlin | 506 | eval { Frey::Test::Runner->new( tests => 'use test' ); }; |
17 | ok( $@, 'wrong tests invocation' ); | ||
18 | |||
19 | ok( my $o = Frey::Test::Runner->new( test => 'non-existing' ), 'correct test invocation for single scalar' ); | ||
20 | |||
21 | diag dump $o->as_markup if $debug; |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |