See Molecule for testing roles and Testing Strategies for how to write tasks that report problems properly.