Test::Proto::Test - container for test and test-related information
Test::Proto::Test->new(sub{return $_[0]=~/\w/;})->run('Content!'); # ok
This is a minimal test object class for use in subclasses of Test::Proto::Base. It stores the codered It returns 1 or the result or the test if it failed. Coderefs should ideally return a Test::Proto::Fail object if they fail, but this is not enforced.
Create a new test. The first argument should be the code to be run. Supply the thing being tested later.
Execute the test on the argument.
For author, version, bug reports, support, etc, please see Test::Proto.