Best Practices for Effective Software Testing
Overview of the best practices that should be adopted and followed among QA/QE teams when it comes to test case design.
- Direct duplicate tests due to inconsistent formatting or spelling errors
- “Hidden”/Contextual duplicates (meaningful typos; same instructions written by different people with varied styles);
- Tests specifying some values, leaving others as default (when several scenarios can be tested in the same execution run).
Adopting a more scientific strategy, as showcased in multiple DesignWise case studies, helps eliminate large amounts of inefficiency – reducing the number of tests and making the test suites more easily maintainable. This approach can be applied beyond BAU regression optimization to scenarios like new feature releases or applications going through a redesign.
The “best practice” process to follow is shown on these flow diagrams:
Stage 1: Begin test design efforts focusing on potential variation in the system under test
Once all the key input parts of the model have been agreed upon, the team should proceed to the analysis of the constraints (i.e. how inputs can and can’t interact with each other) and requirements (both formal and informal).
Stage 2: Create systematically-varied, data-driven test scenarios
Stage 3: Create consistent and accurate documentation
DesignWise allows you to create a single script for the model that is automatically applied to each of your test scenarios. This allows for the best practice of creating data-driven test scripts and ensures the script creation effort does not increase linearly with each test scenario. The tool also allows users to incorporate the appropriate logic for expected result generation.