Junit in Detail
Junit in Detail
• Why Junit
-- The Tool
Test driven development
• Each new feature begins with writing a test.
• Makes the developer focus on the
requirements before writing the code.
• Tests might fail since tests are developed even
before the development.
• In order to pass the test, the development
team has to develop and refractor the code
TDD flow..with Example.
Unit Test
Code
Refractor
• Junit Intro, Installation/Set Up