blib/lib/Test/Most/Exception.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Test::Most::Exception; | ||||||
2 | |||||||
3 | 16 | 16 | 105 | use warnings; | |||
16 | 26 | ||||||
16 | 530 | ||||||
4 | 16 | 16 | 82 | use strict; | |||
16 | 26 | ||||||
16 | 374 | ||||||
5 | |||||||
6 | 16 | 16 | 83 | use base 'Exporter'; | |||
16 | 25 | ||||||
16 | 3093 | ||||||
7 | our @EXPORT_OK = ('throw_failure'); | ||||||
8 | |||||||
9 | our $VERSION = '0.37'; | ||||||
10 | $VERSION = eval $VERSION; | ||||||
11 | |||||||
12 | 16 | 117 | use Exception::Class 'Test::Most::Exception' => { | ||||
13 | alias => 'throw_failure', | ||||||
14 | description => 'Test failed. Stopping test.', | ||||||
15 | 16 | 16 | 8257 | }; | |||
16 | 181582 | ||||||
16 | |||||||
17 | 1; | ||||||
18 | |||||||
19 | __END__ |