Sign In to Follow Application
View All Documents & Correspondence

A Method And System For Optimizing A Test Suite Comprising Plurality Of Test Cases

Abstract: The present disclosure relates to a method and system for optimizing a test suite comprising plurality of test cases. In an embodiment, the pluralities of test cases are received from data sources. The method identifies one or more redundant and non-redundant test cases among the plurality of test cases in the test suite and computes similarity percentage between each of the non-redundant test cases by comparing test description and steps of each non-redundant test case with test description and steps of other non-redundant test cases. The non-redundant test cases are grouped into clusters based on the similarity percentage. Further, the method identifies test functions in each of the clusters for determining reusable test functions. Upon identifying the reusable test functions, test cases in each of the clusters are reconstructed by replacing each of the test cases with the reusable test function references thereby optimizing the test suite. Fig. 1a

Get Free WhatsApp Updates!
Notices, Deadlines & Correspondence

Patent Information

Application #
Filing Date
12 January 2016
Publication Number
13/2016
Publication Type
INA
Invention Field
COMPUTER SCIENCE
Status
Email
ipr@akshipassociates.com
Parent Application
Patent Number
Legal Status
Grant Date
2023-10-20
Renewal Date

Applicants

WIPRO LIMITED
Doddakannelli, Sarjapur Road, Bangalore 560035, Karnataka, India.

Inventors

1. GANESH NARAYAN
#51, 2nd Stage, Karnataka Layout, Basaveshwaranagar PO, Bangalore-560079, Karnataka, India
2. HEMANTHA KUMAR CHOUDAM
#8, Pearl Gardens, Holiday Village Road, Vajarahalli, Kanakapura Road, Bangalore 560061, Karnataka, India
3. GOURAV KUMAR
B-34 H.No. 4792 Durga Puri, Haibowal Kalan, Ludhiana, Punjab 141001, India

Specification

Claims:We claim:
1. A method for optimizing a test suite comprising plurality of test cases, the method comprising:
receiving, by a test suite transformation system, the plurality of test cases from one or more data sources;
identifying, by the test suite transformation system, at least one of one or more redundant test cases and one or more non-redundant test cases among the plurality of test cases in the test suite;
computing, by the test suite transformation system, similarity percentage between each of the one or more non-redundant test cases by comparing test description and test steps of each of the one or more non-redundant test cases with test description and the test steps of each of other non-redundant test cases;
grouping, by the test suite transformation system, each of the one or more non-redundant test cases into one or more clusters based on the similarity percentage;
identifying, by the test suite transformation system, one or more test functions in each of the one or more clusters for determining one or more reusable test functions in each of the one or more clusters; and
optimizing, by the test suite transformation system, the test suite by reconstructing the one or more test cases in each of the one or more clusters by replacing each of the one or more test cases with the identified one or more reusable test function references.

2. The method as claimed in claim 1 further comprises generating one or more business process models for each of the one or more reusable test functions.

3. The method as claimed in claim 2, wherein an integrated business model is generated using each of the one or more business process models for obtaining an integrated view of the test suite.

4. The method as claimed in claim 3 further comprises performing one or more change management operations on the integrated business model, wherein the one or more change management operations comprises:
generating one or more new test cases in the test suite by parsing through each of the one or more reconstructed test cases in the test suite;
comparing each of the one or more new test cases with the plurality of existing test cases in the test suite for identifying percentage of match between test description and test steps of the one or more new test cases and the plurality of existing test cases;
assigning a predetermined color to each of the one or more new test cases based on the percentage of match; and
performing one or more actions on the one or more new test cases in the test suite based on the color assigned to each of the one or more new test cases.

5. The method as claimed in claim 4, wherein the one or more actions performed on the one or more new test cases comprises at least one of deleting the new test case, translating the new test case and modifying the new test case.

6. The method as claimed in claim 1, wherein the one or more reusable test function references are paths referring to location of the one or more reusable test functions in the one or more clusters.

7. The method as claimed in claim 1, wherein the one or more redundant test cases in the test suite are eliminated from the test suite.

8. A test suite transformation system for optimizing a test suite comprising plurality of test cases, the test suite transformation system comprising:
a processor; and
a memory communicatively coupled to the processor, wherein the memory stores processor-executable instructions, which, on execution, causes the processor to:
receive the plurality of test cases from one or more data sources;
identify at least one of one or more redundant test cases and one or more non-redundant test cases among the plurality of test cases in the test suite;
compute similarity percentage between each of the one or more non-redundant test cases by comparing test description and test steps of each of the one or more non-redundant test cases with test description and the test steps of each of other non-redundant test cases;
group each of the one or more non-redundant test cases into one or more clusters based on the similarity percentage;
identify one or more test functions in each of the one or more clusters for determining one or more reusable test functions in each of the one or more clusters; and
optimize the test suite by reconstructing the one or more test cases in each of the one or more clusters by replacing each of the one or more test cases with the identified one or more reusable test function references.

9. The system as claimed in claim 8, wherein the instructions causes the processor to generate one or more business process models for each of the one or more reusable test functions.

10. The system as claimed in claim 9, wherein the instructions further causes the processor to generate an integrated business model using each of the one or more business process models for obtaining an integrated view of the test suite.

11. The system as claimed in claim 10, wherein the instructions causes the processor to perform one or more change management operations on the integrated business model, wherein the one or more change management operations comprises:
generating one or more new test cases in the test suite by parsing through each of the one or more reconstructed test cases in the test suite;
comparing each of the one or more new test cases with the plurality of existing test cases in the test suite for identifying percentage of match between test description and test steps of the one or more new test cases and the plurality of existing test cases;
assigning a predetermined color to each of the one or more new test cases based on the percentage of match; and
performing one or more actions on the one or more new test cases in the test suite based on the color assigned to each of the one or more new test cases.

12. The system as claimed in claim 11, wherein the one or more actions performed on the one or more new test cases comprises at least one of deleting the new test case, translating the new test case and modifying the new test case.

13. The system as claimed in claim 8, wherein the one or more data sources may comprise at least one of a test management system, a storage unit storing one or more test cases and a test management tool.
14. The system as claimed in claim 8, wherein the one or more reusable test function references are paths referring to location of the one or more reusable test functions in the one or more clusters.

15. The system as claimed in claim 8, wherein the instructions causes the processor to eliminate one or more redundant test cases in the test suite.

16. A non-transitory computer readable medium including instructions stored thereon that when processed by at least one processor cause a test suite transformation system to perform operations comprising:
receiving the plurality of test cases from one or more data sources;
identifying at least one of one or more redundant test cases and one or more non-redundant test cases among the plurality of test cases in the test suite;
computing similarity percentage between each of the one or more non-redundant test cases by comparing test description and test steps of each of the one or more non-redundant test cases with test description and the test steps of each of other non-redundant test cases;
grouping each of the one or more non-redundant test cases into one or more clusters based on the similarity percentage;
identifying one or more test functions in each of the one or more clusters for determining one or more reusable test functions in each of the one or more clusters; and
optimizing the test suite by reconstructing the one or more test cases in each of the one or more clusters by replacing each of the one or more test cases with the identified one or more reusable test function references.

Dated this 12th day of January, 2016

SWETHA S.N
OF K & S PARTNERS
AGENT FOR THE APPLICANT
, Description:TECHNICAL FIELD

The present subject matter is related, in general to software testing, and more particularly, but not exclusively to a method and system for optimizing a test suite comprising plurality of test cases.

Documents

Application Documents

# Name Date
1 Form 9 [12-01-2016(online)].pdf 2016-01-12
2 Form 5 [12-01-2016(online)].pdf 2016-01-12
3 Form 3 [12-01-2016(online)].pdf 2016-01-12
4 Form 18 [12-01-2016(online)].pdf 2016-01-12
5 Drawing [12-01-2016(online)].pdf 2016-01-12
6 Description(Complete) [12-01-2016(online)].pdf 2016-01-12
7 REQUEST FOR CERTIFIED COPY [14-01-2016(online)].pdf 2016-01-14
8 abstract201641001079.jpg 2016-01-18
9 REQUEST FOR CERTIFIED COPY [08-03-2016(online)].pdf_3.pdf 2016-03-08
10 REQUEST FOR CERTIFIED COPY [08-03-2016(online)].pdf 2016-03-08
11 201641001079-Power of Attorney-100516.pdf 2016-07-15
12 201641001079-Form 1-100516.pdf 2016-07-15
13 201641001079-Correspondence-F1-PA-100516.pdf 2016-07-15
14 201641001079-FER.pdf 2020-01-31
15 201641001079-OTHERS [23-07-2020(online)].pdf 2020-07-23
16 201641001079-FER_SER_REPLY [23-07-2020(online)].pdf 2020-07-23
17 201641001079-DRAWING [23-07-2020(online)].pdf 2020-07-23
18 201641001079-CORRESPONDENCE [23-07-2020(online)].pdf 2020-07-23
19 201641001079-COMPLETE SPECIFICATION [23-07-2020(online)].pdf 2020-07-23
20 201641001079-CLAIMS [23-07-2020(online)].pdf 2020-07-23
21 201641001079-US(14)-HearingNotice-(HearingDate-25-11-2022).pdf 2022-11-09
22 201641001079-POA [15-11-2022(online)].pdf 2022-11-15
23 201641001079-FORM 13 [15-11-2022(online)].pdf 2022-11-15
24 201641001079-Correspondence to notify the Controller [15-11-2022(online)].pdf 2022-11-15
25 201641001079-AMENDED DOCUMENTS [15-11-2022(online)].pdf 2022-11-15
26 201641001079-Written submissions and relevant documents [09-12-2022(online)].pdf 2022-12-09
27 201641001079-PETITION UNDER RULE 137 [09-12-2022(online)].pdf 2022-12-09
27 Form 3 [12-01-2016(online)].pdf 2016-01-12
28 201641001079-PatentCertificate20-10-2023.pdf 2023-10-20
28 Form 5 [12-01-2016(online)].pdf 2016-01-12
29 201641001079-IntimationOfGrant20-10-2023.pdf 2023-10-20
29 Form 9 [12-01-2016(online)].pdf 2016-01-12

Search Strategy

1 2020-01-2315-13-37_31-01-2020.pdf

ERegister / Renewals

3rd: 18 Jan 2024

From 12/01/2018 - To 12/01/2019

4th: 18 Jan 2024

From 12/01/2019 - To 12/01/2020

5th: 18 Jan 2024

From 12/01/2020 - To 12/01/2021

6th: 18 Jan 2024

From 12/01/2021 - To 12/01/2022

7th: 18 Jan 2024

From 12/01/2022 - To 12/01/2023

8th: 18 Jan 2024

From 12/01/2023 - To 12/01/2024

9th: 18 Jan 2024

From 12/01/2024 - To 12/01/2025

10th: 03 Jan 2025

From 12/01/2025 - To 12/01/2026