[Bps-public-commit] Prophet branch, master, updated. 4068969a90275863f3217dd07bc88e80f7d1264c
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Tue Jun 2 06:34:06 EDT 2009
The branch, master has been updated
via 4068969a90275863f3217dd07bc88e80f7d1264c (commit)
from 1a2702ae97415fb7eec7eee641eb374bc828311e (commit)
Summary of changes:
Makefile.PL | 2 +-
lib/Prophet/Test.pm | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 4068969a90275863f3217dd07bc88e80f7d1264c
Author: sunnavy <sunnavy at gmail.com>
Date: Tue Jun 2 18:33:50 2009 +0800
add last_script_... help subs for test
diff --git a/Makefile.PL b/Makefile.PL
index 51b6ad6..b1e3517 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -22,7 +22,7 @@ requires( 'Path::Dispatcher' => '0.09' ); # Path::Dispatcher::Declarative
requires('Time::Progress');
build_requires( 'Test::Exception' => '0.26' );
-build_requires( 'Test::Script::Run' );
+build_requires( 'Test::Script::Run' => '0.02' );
use Term::ReadLine; # if we don't do this, ::Perl fails
feature 'Improved interactive shell' => -default => 1,
diff --git a/lib/Prophet/Test.pm b/lib/Prophet/Test.pm
index 49bb615..ab62988 100644
--- a/lib/Prophet/Test.pm
+++ b/lib/Prophet/Test.pm
@@ -5,7 +5,9 @@ package Prophet::Test;
use base qw/Test::More Exporter/;
use Test::Script::Run ':all';
our @EXPORT = qw/as_alice as_bob as_charlie as_david as_user run_ok repo_uri_for run_script run_output_matches run_output_matches_unordered replica_last_rev replica_uuid_for ok_added_revisions replica_uuid database_uuid database_uuid_for
- serialize_conflict serialize_changeset in_gladiator diag is_script_output run_command set_editor load_record
+ serialize_conflict serialize_changeset in_gladiator diag is_script_output
+ run_command set_editor load_record last_script_stdout last_script_stderr
+ last_script_exit_code
/;
use File::Path 'rmtree';
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list