Context Driven testing is a kind of software testing model which is used for developing and debugging computer software which considers the use of the product in the real world.
Developers examine whether this product is useful for the users and examines whether the application works well in the real world. Experts describe this testing model as the philosophy of testing. Testers choose their testing objectives, deliverables by considering the details of specific situation including the stakeholders.
Context driven testing is considered more as the testing approach rather than the testing technique. This testing approach is more useful when most of the programmers are not provided with any of the documentation. Context driven testing focuses more on the use of product in the real world rather than the violation of code syntax or function language.
There are some principles of context driven testing as follows:
- The value of any practice depends on its context.
- The product is a solution. If the problem isn’t solved, the product doesn’t work.
- Good software testing is a challenging intellectual process.
- People, working together, are the most important part of any project’s context.
- There are good practices in context, but there are no best practices.
- Projects unfold over time in ways that are often not predictable.
- Only through judgment and skill, exercised cooperatively throughout the entire project, are we able to do the right things at the right times to effectively test our products.
Context driven testing should be done when:
- We want to know the use of product in the real world. It helps to analyze the product. It also helps to design the test strategies.
Context driven testing should not be done when:
- Other people are responsible for the quality of your product.
- When the context is going to remain unchanged.
- It provides optimized functionality of the end product.
- Provides user friendliness of the end product.
- Context driven testing monitors the test planning challenges.
- It helps to analyze the product in the real world.
- Does not work in all the situations.