File: 25_increment.t

package info (click to toggle)
libppi-perl 1.270-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,112 kB
  • sloc: perl: 13,991; makefile: 8
file content (22 lines) | stat: -rw-r--r-- 575 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/perl

# Given that we know the regression tests represent potentially
# broken locations in the code, process every single transitional
# state between an empty document and the entire file to make sure
# all of them parse as legal documents and don't crash the parser.

use lib 't/lib';
use PPI::Test::pragmas;
use Test::More tests => 8998 + ($ENV{AUTHOR_TESTING} ? 1 : 0);

use PPI;
use PPI::Test::Run;





#####################################################################
# Code/Dump Testing

PPI::Test::Run->increment_testdir(qw{ t data 08_regression });