Test::Harness provides test execution and result analysis for Perl. It runs test scripts, parses TAP (Test Anything Protocol) output from them and presents a summary of which tests passed and which failed.
It may be used to test non-Perl programs - in fact anything that outputs TAP.