This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org
Difference between revisions of "OWASP Secure TDD Project"
From OWASP
Lauren Tabak (talk | contribs) |
Lauren Tabak (talk | contribs) |
||
Line 19: | Line 19: | ||
− | TDD is about writing a test which will fail, then writing the minimum amount of code required to make it run | + | TDD is about writing a test which will fail, then writing the minimum amount of code required to make it run and then refactoring the code to make it clean. <br> This is done in cycles, fail -> pass -> refactor, adding a new test for each known requirement for the code.<br> |
A TDD test expresses the task of the application functionality that needs to be implemented next and the criterion for success. <br> | A TDD test expresses the task of the application functionality that needs to be implemented next and the criterion for success. <br> | ||
TDD is not about testing. TDD uses tests to drive the design of the code.<br> | TDD is not about testing. TDD uses tests to drive the design of the code.<br> |
Revision as of 19:26, 16 March 2014