Skip to main content
Guidance

Secure development and deployment guidance

8 Principles to help you improve and evaluate your development practices, and those of your suppliers

Page 9 of 10

Continually test your security

Security testing can be manual, but it can also be automated.

Testing during software development is well recognised as good practice. It helps you gain confidence that the code you are developing is functioning as intended. You can gain confidence in the security of your products and services in the same way. Security testing can be manual, but it can also be automated.

Two particular approaches to development bring testing to the fore. The first, Test Driven Development involves tests being drafted before any code is created. Code is then written to pass these tests. The other, Secure by Construction, requires a specification to be written ahead of time, which code is checked against, using formal methods.

Although these test-friendly approaches are sometimes preferred, other methods such as ad-hoc or after-the-fact unit tests, system tests and end-to-end tests can be used to improve security.








Published

Reviewed

Version

1.0