Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.

Using the scientific method to debug your test case failures

Greg Whorley edited this page Feb 22, 2016 · 1 revision
Step Explanation
Observe a phenomenon
  • program crashed or produced output that wasn't what you expected
Ask a question
  • why did the program crash
Gather information & apply expert knowledge
  • get information regarding the inner workings of the program
  • could rely on a domain expert's input
Form hypothesis
  • I think that the program did this when the incorrect output was produced
Test hypothesis Is it
  • testable?
  • actionable?
If your hypothesis was incorrect, go back to "Gather information"
Clone this wiki locally