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 36: | Line 36: | ||
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> | ||
− | TDD is less about testing, and more about designing the code. Unit tests are then used to set the expectations for the end code. | + | TDD is less about testing, and more about designing the code. Unit tests are then used to set the expectations for the end code.When the end code is written, and passes tests (specifications), you have a code that was designed using tests.<br> |
Like unit tests, TDD tests can be used for regression testing. You can use TDD tests to immediately determine whether a change in code has broken existing application functionality. However, unlike a unit test, a TDD test does not necessarily test one unit of code in isolation. <br> | Like unit tests, TDD tests can be used for regression testing. You can use TDD tests to immediately determine whether a change in code has broken existing application functionality. However, unlike a unit test, a TDD test does not necessarily test one unit of code in isolation. <br> | ||
You can do unit testing without doing test driven development. However you can't do test driven development without using unit tests.<br> | You can do unit testing without doing test driven development. However you can't do test driven development without using unit tests.<br> | ||
Line 70: | Line 70: | ||
− | + | STDD is a tool that will ensure secure coding using an Add-On for Microsoft Visual Studio, by creating auto generated TDD tests, assisting us to find vulnerabilities, exploits and security bugs inside the code while using the TDD life cycle. | |
− | |||
− | |||
− | |||
The tests we will be focusing on are prevention against SQL injection and XSS attacks. | The tests we will be focusing on are prevention against SQL injection and XSS attacks. | ||
Revision as of 01:49, 15 March 2014