Quick Refresh : Introduction to Test-Driven development (TDD)
Introduction to Test-Driven development (TDD): q Based on business requirements, first the developer writes an (initially failing) automated test case that defines a desired improvement or new function, then produces the minimum amount of code to pass that test, and finally re-factor the new code to acceptable standards. q Using TDD to produce code means that developers begin by setting out exactly what the code should do rather than beginning with how the code should satisfy the requirement. q JUnit : Most of the projects which use Test-driven development (TDD) for Java development use JUnit to write test. Improvement needed in TDD approach: q Programmers Perspective - Programmers always wanted to know: ü “Where to start” - Every Business Analyst (BA) has their own template for writing the Business Requirement d...