An Approach of Generating Test Requirements for Agile Software Development
Saurabh Kumar Tiwari, Atul Kumar Gupta · 2015
Test driven development, an agile programming approach, has been advocated as a promising approach for developing quality code. This approach aims at developing minimal, non-redundant code accepting only one test case at a time. However, not much has been deliberated in the literature on how to systematically generate test cases for incremental coding. In this paper, we propose an approach of generating test requirements from use case specification for test driven development. The approach consists of first constructing actor-oriented activity diagrams from use case specifications, and then generating systematic, prioritized test sequences from these activity diagrams for developing code incrementally. We demonstrate the applicability of the proposed approach using an illustrative example and discuss other related issues. We also present a comparative study of the effectiveness of test sequences generated from our approach with some other existing use case based test case generation approaches.