Permalink
Browse files

add more documentation

  • Loading branch information...
1 parent 42bfb28 commit f70149fb19fffea962b9a861ed12433eb03fe6fe @szabgab committed Apr 9, 2009
Showing with 12 additions and 4 deletions.
  1. +12 −4 lib/Test/Snapshots.pm
View
@@ -176,10 +176,6 @@ my $skip = {};
my $accessories_dir;
my $default_expected_exit = 0;
-sub debug {
- $debug = shift;
-}
-
=head2 combine
Set to 1 if you'd like to combine the STDOUT and STDERR and compare the
@@ -263,6 +259,18 @@ sub command {
$command = shift;
}
+=head2 debug
+
+You can turn on the debug flag by calling debug(1).
+If it is set Test::Snippets will call diag() with all kinds of
+information during the test execution.
+
+=cut
+
+sub debug {
+ $debug = shift;
+}
+
=head2 test_all_snapshots
This is the call that actually goes out, locates all the

0 comments on commit f70149f

Please sign in to comment.