Finding bugs step by step, and tests that check your code for you. Reading a stack trace through several classes, a checklist for troubleshooting, giving code that reads a Scanner its input from a String, unit tests with JUnit and its assertions, choosing good test cases, and test-driven development. The end of MOOC part 6.