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 32: | Line 32: | ||
Unit Testing is about testing individual units of behavior. An individual unit of behavior is the smallest possible unit of behavior that can be individually tested in isolation.<br> | Unit Testing is about testing individual units of behavior. An individual unit of behavior is the smallest possible unit of behavior that can be individually tested in isolation.<br> | ||
You can write unit tests before you write your code, after you write your code or while you write your code.<br> | You can write unit tests before you write your code, after you write your code or while you write your code.<br> | ||
+ | |||
So how does a TDD test differ from a unit test?<br> | So how does a TDD test differ from a unit test?<br> | ||
+ | |||
Unlike a unit test, a TDD test is used to drive the design of an application. A TDD test is used to express what application code should do before the application code is actually written.<br> | Unlike a unit test, a TDD test is used to drive the design of an application. A TDD test is used to express what application code should do before the application code is actually written.<br> |
Revision as of 03:39, 15 March 2014