Abstract:
Agile software development methodology. is being used widely for software
development with the passage of time because of its quick delivery of projects to the
market. In the process of software development, software testing plays a vital role as it is
used to validate the software product and to make sure that the required system
functionalities are available or not. It is also performed to identify the bugs or errors in
the system and to ensure the proper functioning of the system. Several tools, practices
and methodologies are existed to generate test cases. All these methodologies are
generating the test cases based on specifications or models. So, there’s a need of a
technique which can generate test cases from user stories instead of specifications based
or model based. In this research a test case generation technique and a coverage metric is
proposed which generates test cases from user stories. In the first step user story
components i.e. user roles, goals and reasons are identified from a user story. After
identifying the user story components, tasks are also generated from the user stories. On
the basis of these tasks and components test cases are generated. These components and
tasks also help to map test cases to their respective user story. A coverage metric is also
proposed in this research which helps to calculate the coverage of the user stories based
on the test cases generated. The proposed test case generation technique is implemented
on four moblie applications to generate the test cases. Test cases generated for these
applications based on the proposed technique covers all the user stories and are useful to
identify the bugs and issues in the applications.