[Paper Review] Reliable Mining of Automatically Generated Test Cases from Software Requirements Specification (SRS)
This paper proposes a method to automatically generate reliable test cases from Software Requirements Specifications (SRS) by classifying functional and non-functional requirements, transforming them into state charts, and deriving test cases through planning-based state transitions. It further applies data mining techniques to reduce test suite size, enhancing test case maintainability and knowledge extraction efficiency.
Writing requirements is a two-way process. In this paper we use to classify Functional Requirements (FR) and Non Functional Requirements (NFR) statements from Software Requirements Specification (SRS) documents. This is systematically transformed into state charts considering all relevant information. The current paper outlines how test cases can be automatically generated from these state charts. The application of the states yields the different test cases as solutions to a planning problem. The test cases can be used for automated or manual software testing on system level. And also the paper presents a method for reduction of test suite by using mining methods thereby facilitating the mining and knowledge extraction from test cases.
Motivation & Objective
- To address the challenge of manual test case generation by automating the derivation of test cases from SRS documents.
- To classify functional and non-functional requirements in SRS documents systematically for test case generation.
- To transform requirement-based state information into formal state charts for systematic test case derivation.
- To reduce test suite size using data mining techniques to improve maintainability and knowledge extraction.
- To enable both automated and manual system-level testing through reliable, machine-generated test cases.
Proposed method
- Classify requirements in SRS into Functional Requirements (FR) and Non-Functional Requirements (NFR) using a structured approach.
- Transform classified requirements into state charts that model system behavior based on all relevant information.
- Generate test cases by treating state transitions as solutions to a planning problem, ensuring coverage of system states.
- Apply data mining methods to identify and eliminate redundant or less relevant test cases, reducing the overall test suite size.
- Use the resulting test cases for both automated and manual system-level software testing.
- Leverage the mining process to extract reusable knowledge from test cases, improving long-term test maintenance.
Experimental results
Research questions
- RQ1How can functional and non-functional requirements in SRS documents be systematically classified for test case generation?
- RQ2What formal representation (e.g., state charts) can effectively model system behavior derived from SRS for test case mining?
- RQ3How can state transitions in the model be used to automatically generate comprehensive test cases?
- RQ4What data mining techniques can be applied to reduce test suite size without compromising coverage?
- RQ5How can the generated test cases support both automated and manual system-level testing?
Key findings
- The method successfully transforms SRS documents into state charts that accurately represent system behavior based on requirement classification.
- Test cases are automatically generated by modeling state transitions as solutions to a planning problem, ensuring systematic coverage.
- The application of data mining techniques reduces the size of the test suite, improving maintainability and efficiency.
- The generated test cases are suitable for both automated and manual testing at the system level.
- The mining process enables effective knowledge extraction from test cases, supporting long-term test evolution.
- The approach enhances reliability and reusability of test cases derived from SRS, reducing manual effort in test design.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.