Test Driven Development

Material Category: Learning Activity
Course Categories: CS1/CS2/Data Structures |
FOSS Categories: Coding & Style | Quality & Testing | Specification & Design | Tools & Communication |
Tags: Eclipse | Java | JUnit |


Students will follow and implement a beginner level java-based Test Driven Development (TDD) approach with JUnit in the Eclipse IDE. First, they create a test case that fails, then they start creating mock code, and finally a simple piece of code that allows their test to pass.

Link: http://foss2serve.org/index.php/Test_Driven_Development

Source: foss2serve.org

Return to Teaching Materials

Leave a Reply