Test and Verification -> Application tests: Security unit tests for important components
Risk and Opportunity
Risk: Vulnerabilities are rising due to code changes.
Opportunity: Usage of unit tests to test important security related features like authentication and authorization.
- JUnit, , Tags: unittest
- Karma, Link, Tags:
Comments: The integration of module tests takes place during development instead, it highlights vulnerabilities in sub-routines, functions, modules, libraries etc. checked.
A sample implementation of unit tests are explained in the video [Shift-Left-Security with the Security Test Pyramid - Andreas Falk](https://www.youtube.com/watch?v=TzFZy3f7d8E) starting with minute 9.
Usefulness and Requirements of this Activity
Required knowledge: Medium (two disciplines)
Required time: High
Required resources (systems): Low
OWASP SAMM VERSION 2