Download presentation
Presentation is loading. Please wait.
1
Scenario-based Regression Testing (SRT)
Chithira Selvan & Project Manager Senthil Kumar S & Associate P Balakrishnan & Associate Professor Cognizant Technology Solutions
2
Abstract Regression testing is an inevitable phase in any software development lifecycle since its focus is to uncover the defects which are induced by the recent code changes in an existing application. Alternatively, the primary objective of regression testing is to ensure the correctness of the modified software. However, regression testing demands the exhaustive execution of all the test cases in the test suite which is unaffordable in most cases. To avoid this, it is essential to know the dependent modules/components of the modified modules/components which will be used to carefully choose the relevant subset of test cases from the test suite. Further, prioritizing the test cases of this subset will also help to improve the time and cost effectiveness of regression testing. With these objectives, this research work proposes a Scenario-based Regression Testing(SRT) in which the test cases for regression testing are chosen based on the scenarios that are derived from the history of known previous production issues. Here, the Scenario-based Regression scoping is applied over the dependent modules/components to decide their candidature for regression testing. Later, these scenarios are clustered together and are associated with the respective modules. The proposed approach is planned to implement the entire project plan and test plan in a graph database such as, Neo4j for better assessment of dependent modules in deciding their candidature for regression testing. In concise, the proposed methodology achieves early defect identification and eliminates high risk through effective regression testing by executing the most optimal test scenarios which covers an end to end test flow.
3
Application Overview Every minute of every day, our Client create millions of media moments all over the world. Largest broadcaster provides Scalable and Efficient Media Sales Solution, Creates and Delivers Efficient Ad Sales Campaigns for Linear TV and VOD Drives up Ad Revenue through Efficient use of Airtime and Controls Operational Costs in Ad Sales Teams through Automated Tools New State of the Art User Interface Drives Effectiveness Through Usability, Navigation, Notification and Inbuilt Data Analytics in Every Functional Area
4
Problem Statement Software system is subject to changes through out development, maintenance, and evolution, due to a variety of reasons such as changed requirements (both functional and nonfunctional), update technology, and upgrade hardware or software platform. The changes bring much risk to the software system because change propagations may introduce new bugs, sometimes even fatal errors. Regression testing is the technique to verify the integrality and correctness of the modified system. There exist two strategies for selecting regression test cases: retest-all and selective-retest. In most of situations, it is impossible to retest all the test cases of the system under test. Therefore, the selective testing is necessary. Selecting a right set of regression test cases for antique applications (which has test cases) which is very difficult and it requires very precise approach to make this as efficient.
5
Proposed Approach This research work proposes a Scenario-based Regression Testing(SRT) in which the test cases for regression testing are chosen based on the scenarios that are derived from the history of known previous production issues. Here, the Scenario-based Regression scoping is applied over the dependent modules/components to decide their candidature for regression testing. Later, these scenarios are clustered together and are associated with the respective modules. This approach explains the Test Scenario Model followed in this work
6
Test Scenario Model This section explains the E2E testing and describes the test scenario model from three perspectives: test scenario specification, the dependencies between test scenarios, and the traceability to other software artifacts E2E Testing: E2E testing is a life cycle process that is made up of following procedures Test planning: specifies the key tasks as well as the associated schedule and resources; Test design: designs an E2E testing, including test specifications, test case generation, risk analysis, usage analysis, and scheduling tests; Test execution: executes the test cases and documents the testing results; Result analysis: analyzes the testing results.
7
Test Scenario Specification
Test scenarios are semi-formal specifications that sit between descriptive system requirements and executable test cases. Test Scenarios are formed by analyzing Previous Production issues, Client Key requirements and Happy Path scenarios. These scenarios will be grouped and sorted by using below template,
8
Test Scenarios Dependencies
Dependence analysis provides the foundation for regression testing to identify dependent components/modules using Impact Analysis. Below are the various dependencies, Functional Dependence Input Dependence Output Dependence Execution Dependence Condition Dependence
9
Test Scenario Traceability
The traceability enables global change impact analysis among software artifacts In Linkage of the temple, attribute Requirement records all the requirements what the test scenario is associated; attribute Test Script stores all the test cases that are generated from the test scenario. In general cases, a requirement can be traced to multiple test scenarios and a test scenario to multiple test cases (test scripts). Each test scenario may cover multiple software components along its execution path;
10
Implementation of Scenario based Regression Testing
Identifying the impacted modules based on the code dependencies and Impact analysis. Using Traceability information, linked scenarios can be identified for efficient scoping. With information from Dependency and Traceability, one can identify all affected scenarios that includes directly or indirectly affected scenarios and thus the set of test cases can be selected for regression testing
11
Conclusion Regression testing on large integrated software system is hard because the number of test cases is huge and the change impacts may be widely spread. For high-level integration regression testing, the retest-all approach is usually time and resource consuming. To counter this challenge, this paper proposes a Scenario Based Regression Testing approach for functional regression testing. Test scenarios are semi-formal representations of detailed system requirements, with test inputs, outputs, and conditions defined. By using test dependency information and traceability, one can obtain a algorithm to detect the scenarios that are affected and thus they are candidates for regression testing.
12
Author Biography Co-Author 1 Biography Co-Author 2 Biography
Chithira Selvan works as a Project Manager at Cognizant Technology Solution, Chennai and have 10 years of experience in large scale Broadcasting domain, Communications and Data Analysis. She holds a Master’s Degree in Computer Applications. She is certified in ISTQB and CSQA Co-Author 1 Biography Senthilkumar S works as a Associate at Cognizant Technology Solution, Chennai and have 7 years of experience in Broadcasting domain. He holds a Masters Degree in Computer Applications. He is certified in ISTQB and Six Sigma Green Belt Practitioner. Co-Author 2 Biography P Balakrishnan, having around 15 years of experience and worked in overseas in data computing, currently working as Associate Professor
13
Thank You!!!
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.