Test::Wait - Make tests wait for manual testing purposes.
Test::Wait is a tool for use in conjunction with test libraries such as Test::More for manual testing purposes.
It was initially designed for use in Selenium based tests however it can be used in any test script.
Test::Wait provides a simple interface to pause test scripts at any given point, allowing you to inspect the test output or use the test-created data to run manual tests against the application in a browser or terminal.
use Test::Wait; wait_stdin( [ 'i'm waiting for you to hit return' ] ); wait_x( [ [ $x ] [, "i'm waiting $x seconds" ] ] );
wait ( for return key press ) before continuing a test.
ignored if running under prove or make test.
wait for $seconds seconds before continuing a test.
Test::More, Test::Builder, Test::Simple, Selenium::Remote::Driver, Test::Harness
Ben Hare <ben@benhare.com>
Inspired by code written by Chris Hutchinson <chris@hutchinsonsoftware.com>.
Copyright (c) Ben Hare <ben@benhare.com>, 2014.
This program is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install Test::Wait, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Wait
CPAN shell
perl -MCPAN -e shell install Test::Wait
For more information on module installation, please visit the detailed CPAN module installation guide.