/[Frey]/trunk/lib/Frey/Test/Runner.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey/Test/Runner.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 564 by dpavlin, Wed Nov 26 22:29:13 2008 UTC revision 565 by dpavlin, Thu Nov 27 21:31:45 2008 UTC
# Line 19  has tests => ( Line 19  has tests => (
19          required => 1,          required => 1,
20          lazy => 1, # FIXME ask users which tests to run          lazy => 1, # FIXME ask users which tests to run
21          default => sub {          default => sub {
 #               [ glob('t/*.t') ] # all tests  
22                  [ Frey::SVK->modified ]                  [ Frey::SVK->modified ]
23          },          },
24          documentation => 'run tests which are result of modifications or whole full tests',          documentation => 'run tests which are result of modifications or whole full tests',
# Line 106  sub as_markup { Line 105  sub as_markup {
105    
106          if ( ! @tests ) {          if ( ! @tests ) {
107                  warn "can't find any tests ", dump( $self->tests ), " within depends ", dump( $self->test_because );                  warn "can't find any tests ", dump( $self->tests ), " within depends ", dump( $self->test_because );
108                  warn "running all tests instead";  #               warn "running all tests instead";
109                  @tests = glob('t/*.t');  #               @tests = glob('t/*.t');
110                    @tests = glob('t/01*.t'); # XXX default tests
111          }          }
112    
113          $self->title( join(' ', @tests ) );          $self->title( join(' ', @tests ) );

Legend:
Removed from v.564  
changed lines
  Added in v.565

  ViewVC Help
Powered by ViewVC 1.1.26