Is it possible to have a soft fail of a test in Perl? by soft fail I mean the test fails, but it will not cause the test suite to fail.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This may help … You can mark a block of tests as ‘TODO’ like this:
Whether the tests in the TODO block pass or fail will not affect the result for the script. However if the tests do pass, the summary output from
provewill tell you which test passed ‘unexpectedly’. The verbose output fromprove -vwill give full diagnostic details for all the tests including failing TODO tests.