Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/2723742.2723761acmotherconferencesArticle/Chapter ViewAbstractPublication PagesisecConference Proceedingsconference-collections
research-article

An Approach of Generating Test Requirements for Agile Software Development

Published: 18 February 2015 Publication History

Abstract

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.

References

[1]
S. W. Ambler. The agile scaling model (ASM): adapting agile methods for complex environments. Environments, 2009.
[2]
B. Bruegge. Object-Oriented Software Engineering: Using Uml, Patterns and Java, Pearson, Second Edition edition, 2009.
[3]
L. C. Briand and Y. Labiche. A uml-based approach to system testing. In Proceedings of the 4th International Conference on The Unified Modeling Language, Modeling Languages, Concepts, and Tools, UML'01, pages 194--208, London, UK, Springer-Verlag, 2001.
[4]
D. Ince. Object-Oriented Software Engineering with C++, McGraw-Hill edition, 1991.
[5]
P. Fröhlich and J. Link. Automated test case generation from dynamic models. In Proceedings of the 14th European Conference on Object-Oriented Programming, ECOOP '00, pages 472--492, London, UK, Springer-Verlag, 2000.
[6]
P. Gibson Formal Requirements Models: Simulation, Validation and Verification, Technical report, Computer Science Dept., Nat'lUniv. of Maynooth, Ireland edition edition, 2001.
[7]
J. Hartmann, M. Vieira, H. Foster, and A. Ruder. A uml-based approach to system testing. Innovations in Systems and Software Engineering, 1(1):12--24, 2005.
[8]
IBM. Object-Oriented Analysis and Design with UML2 and Rational Software Modeler. IBM Corporation, 2006.
[9]
I. Jacobson, M. Christerson, P. Jonsson and G. Overgaard. Object-Oriented Software Engineering: A Use-Case Driven Approach, Addison-Wesley, Reading, MA, 1992 edition, 1992.
[10]
D. Jeffrey and N. Gupta. Experiments with test case prioritization using relevant slices. Journal of System and Software, 81(2):196--221, 2008.
[11]
J. Kanyaru, K. Phalp, K. Cox, and A. Jha. Supporting the consideration of dependencies in use case specifications. In 11th International Workshop on Requirements Engineering: Foundation For Software Quality-REFSQ05, Porto, Portugal, pages 13--14. 2005.
[12]
M. Katara and A. Kervinen. Making model-based testing more agile: A use case driven approach. In E. Bin, A. Ziv, and S. Ur, editors, Hardware and Software, Verification and Testing, volume 4383 of Lecture Notes in Computer Science, pages 219--234. Springer Berlin Heidelberg, 2007.
[13]
H. Kim, S. Kang, J. Baik, and I. Ko. Test cases generation from UML activity diagrams. In Software Engineering, Artificial Intelligence, Networking, and Parallel/Distributed Computing, 2007. SNPD 2007. Eighth ACIS International Conference on, volume 3, pages 556--561, 2007.
[14]
C. Larman. Agile and Iterative Development: A Manager's Guide. Pearson Education, 2003.
[15]
C. Larman. Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development, 3/e. Pearson Education India, 2012.
[16]
C. Nebut, F. Fleurey, Y. Le Traon, and J.-M. Jezequel. Automatic test generation: A use case driven approach. IEEE Transactions on Software Engineering, 32(3):140--155, 2006.
[17]
A. Ottensooser, A. Fekete, H. A. Reijers, J. Mendling, and C. Menictas. Making sense of business process descriptions: An experimental comparison of graphical and textual notations. Journal of System and Software, 85(3):596--606, 2012.
[18]
B. Paech. On the role of activity diagrams in UML - a user task centered development process for uml. In Selected Papers from the First International Workshop on The Unified Modeling Language UML'98: Beyond the Notation, pages 267--277, London, UK, Springer-Verlag, 1998.
[19]
M. Pančur and M. Ciglarič. Impact of test-driven development on productivity, code and tests: A controlled experiment. Information and Software Technology, 53(6):557--573, 2011.
[20]
T. Quatrani Visual Modeling with Rational Rose and UML, Reading, Massachusetts, Addison Wesley edition, 1998.
[21]
R. V. Binder. Testing Object-Oriented Systems - Models, Patterns, and Tools, Addison-Wesley edition, 1999.
[22]
Z. Racheva, M. Daneva, K. Sikkel, A. Herrmann, and R. Wieringa. Do we know enough about requirements prioritization in agile projects: Insights from a case study. In Proceedings of the 2010 18th IEEE International Requirements Engineering Conference, RE '10, pages 147--156, Washington, USA, IEEE Computer Society, 2010.
[23]
B. Regnell, K. Kimbler, and A. Wesslen. Improving the use case driven approach to requirements engineering. In Requirements Engineering, 1995., Proceedings of the Second IEEE International Symposium on, pages 40--47, 1995.
[24]
J. Ryser and M. Glinz. A scenario-based approach to validating and testing software systems using statecharts. In In 12th International Conference on Software and Systems Engineering and their Applications (ICSSEA'99), page 7, 1999.
[25]
M. Sarma, D. Kundu, and R. Mall. Automatic test case generation from UML sequence diagram. In Advanced Computing and Communications, 2007. ADCOM 2007. International Conference on, pages 60--67, 2007.
[26]
H. Srikanth and L. Williams. On the economics of requirements-based test case prioritization. SIGSOFT Software Engineering Notes, 30(4):1--3, 2005.
[27]
R. Svensson, T. Gorschek, B. Regnell, R. Torkar, A. Shahrokni, R. Feldt, and A. Aurum. Prioritization of quality requirements: State of practice in eleven companies. In Requirements Engineering Conference (RE), 2011 19th IEEE International, pages 69--78, 2011.
[28]
S. Tiwari, S. S. Rathore, A. Singh, A. Singh, and A. Gupta. An approach to generate actor-oriented activity charts from use case requirements. In Proceedings of the 2012 19th Asia-Pacific Software Engineering Conference - Volume 01, APSEC '12, pages 270--275, Washington, USA, IEEE Computer Society, 2012.
[29]
H. Zhu, P. A. V. Hall, and J. H. R. May. Software unit test coverage and adequacy. ACM Computing Survey, 29(4):366--427, 1997.

Cited By

View all
  • (2020)Generating Test Sequences from UML Use Case Diagram: A Case Study2020 Second International Sustainability and Resilience Conference: Technology and Innovation in Building Designs(51154)10.1109/IEEECONF51154.2020.9319979(1-6)Online publication date: 11-Nov-2020
  • (2019)Requirements Engineering and Software Testing in Agile MethodologiesProceedings of the XXXIII Brazilian Symposium on Software Engineering10.1145/3350768.3352584(322-331)Online publication date: 23-Sep-2019
  • (2019)USLTG: Test Case Automatic Generation by Transforming Use CasesInternational Journal of Software Engineering and Knowledge Engineering10.1142/S021819401950041429:09(1313-1345)Online publication date: 10-Oct-2019
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
ISEC '15: Proceedings of the 8th India Software Engineering Conference
February 2015
207 pages
ISBN:9781450334327
DOI:10.1145/2723742
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

In-Cooperation

  • iSOFT: iSOFT
  • ACM India: ACM India

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 18 February 2015

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. UML activity diagram
  2. Use case specification
  3. agile software development
  4. prioritization
  5. test requirements

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Conference

ISEC '15
ISEC '15: 8th India Software Engineering Conference
February 18 - 20, 2015
Bangalore, India

Acceptance Rates

Overall Acceptance Rate 76 of 315 submissions, 24%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)19
  • Downloads (Last 6 weeks)1
Reflects downloads up to 03 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2020)Generating Test Sequences from UML Use Case Diagram: A Case Study2020 Second International Sustainability and Resilience Conference: Technology and Innovation in Building Designs(51154)10.1109/IEEECONF51154.2020.9319979(1-6)Online publication date: 11-Nov-2020
  • (2019)Requirements Engineering and Software Testing in Agile MethodologiesProceedings of the XXXIII Brazilian Symposium on Software Engineering10.1145/3350768.3352584(322-331)Online publication date: 23-Sep-2019
  • (2019)USLTG: Test Case Automatic Generation by Transforming Use CasesInternational Journal of Software Engineering and Knowledge Engineering10.1142/S021819401950041429:09(1313-1345)Online publication date: 10-Oct-2019
  • (2019)Generating test sequences from UML use-case diagrams2019 International Conference on Innovation and Intelligence for Informatics, Computing, and Technologies (3ICT)10.1109/3ICT.2019.8910329(1-6)Online publication date: Sep-2019
  • (2019)Model-based testing using UML activity diagramsComputer Science Review10.1016/j.cosrev.2019.07.00133:C(98-112)Online publication date: 1-Aug-2019
  • (2018)Prioritization of User Story Acceptance Tests in Agile Software Development Using Meta-Heuristic Techniques and Comparative AnalysisTowards Extensible and Adaptable Methods in Computing10.1007/978-981-13-2348-5_4(43-55)Online publication date: 5-Nov-2018
  • (2017)USLProceedings of the 8th International Symposium on Information and Communication Technology10.1145/3155133.3155194(401-408)Online publication date: 7-Dec-2017
  • (2016)A Comprehensive Study for Software Testing and Test Cases Generation ParadigmsProceedings of the International Conference on Internet of things and Cloud Computing10.1145/2896387.2896435(1-7)Online publication date: 22-Mar-2016
  • (2016)A preliminary analysis of various testing techniques in Agile development - a systematic literature review2016 3rd International Conference on Computer and Information Sciences (ICCOINS)10.1109/ICCOINS.2016.7783283(600-605)Online publication date: Aug-2016
  • (2015)Waterfall and agile requirements-based model for automated test cases generation2015 IEEE Seventh International Conference on Intelligent Computing and Information Systems (ICICIS)10.1109/IntelCIS.2015.7397285(607-612)Online publication date: Dec-2015

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media