The document discusses PigUnit, a library for unit testing Pig scripts. It allows running Pig scripts from JUnit tests, overriding script variables with test values, inspecting variable values, and making STORE statements no-ops. The document provides examples of simple Pig scripts, test programs using PigUnit, and more complex testing scenarios where PigUnit can rewrite scripts to load test input from temporary files.