Best Practices
Quality is not just about the quality of the code, there are many root causes that cause unwanted behaviour. Including faulty requirements, complex infrastructure and time pressure. There are many frameworks and best practices to follow in order to minimise adverse behaviour.
SOLID Principles
The most common OOP practices to follow are the SOLID principles. The goals of the SOLID principles are to reduce the impact of changes made to the software, which means the code becomes easier to maintain and expand.
TDD Principles
TDD is Test-Driven-Development, which is a form of programming where the tests (unit tests) are written first and then minimal amount of code is written to make the test pass.
BDD Principles
BDD is a development framework used for creating acceptance criteria and translating them into executable tests by focusing on a systems desired behaviour.
The phases used in the BDD process is:
- Discovery
- Formulation
- Automation