Skip to main content

2018 | OriginalPaper | Buchkapitel

54. EasyTest: An Approach for Automatic Test Cases Generation from UML Activity Diagrams

verfasst von : Fernando Augusto Diniz Teixeira, Glaucia Braga e Silva

Erschienen in: Information Technology - New Generations

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

The test cases generation is one of the great challenges for the Software Test Community because of the development efforts and costs to create, validate and test a large number of test cases. The automation of this process increases testing productivity and reduce labor hours. One technique that has been adopted to automate test cases generation is Model Based Testing (MBT). This paper proposes the EasyTest approach to generate test cases from UML Activity Diagrams aiming to integrate Modeling, Coding and Test stages in a software process and to reduce costs and development efforts. The proposed approach suggests an early detection of defects even in the modeling stage to prevent that unidentified defects are embedded in the coding stage. The work also presents the use of the generated test cases before and after the coding stage. To verify the proposed approach, this work also presents the EasyTest Tool to provide interoperability with the JUnit framework.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Shamshiri, S., Just, R., Rojas, J. M., Fraser, G., McMinn, P., & Arcuri, A. (2015). Do automatically generated unit tests find real faults? an empirical study of effectiveness and challenges (t). In Automated software engineering (ASE), 2015 30th IEEE/ACM international conference on (pp. 201–211). Lincoln, Nebraska: IEEE. Shamshiri, S., Just, R., Rojas, J. M., Fraser, G., McMinn, P., & Arcuri, A. (2015). Do automatically generated unit tests find real faults? an empirical study of effectiveness and challenges (t). In Automated software engineering (ASE), 2015 30th IEEE/ACM international conference on (pp. 201–211). Lincoln, Nebraska: IEEE.
2.
Zurück zum Zitat Jena, A. K., Swain, S. K., & Mohapatra, D. P. (2014). A novel approach for test case generation from uml activity diagram. In Issues and challenges in intelligent computing techniques (ICICT), 2014 international conference on (pp. 621–629). Ghaziabad: IEEE. Jena, A. K., Swain, S. K., & Mohapatra, D. P. (2014). A novel approach for test case generation from uml activity diagram. In Issues and challenges in intelligent computing techniques (ICICT), 2014 international conference on (pp. 621–629). Ghaziabad: IEEE.
3.
Zurück zum Zitat Boghdady, P. N., Badr, N. L., Hashem, M., & Tolba, M. F. (2011). A proposed test case generation technique based on activity diagrams. International Journal of Engineering & Technology IJET-IJENS, 11(03), 35–52. Boghdady, P. N., Badr, N. L., Hashem, M., & Tolba, M. F. (2011). A proposed test case generation technique based on activity diagrams. International Journal of Engineering & Technology IJET-IJENS, 11(03), 35–52.
4.
Zurück zum Zitat Nebut, C., Fleurey, F., Le Traon, Y., & Jezequel, J.-M. (2006). Automatic test generation: A use case driven approach. IEEE Transactions on Software Engineering, 32(3), 140–155.CrossRef Nebut, C., Fleurey, F., Le Traon, Y., & Jezequel, J.-M. (2006). Automatic test generation: A use case driven approach. IEEE Transactions on Software Engineering, 32(3), 140–155.CrossRef
5.
Zurück zum Zitat Chang, C.-K. & Lin, N.-W. (2015). Utgen: A black-box method-level unit-test generator for junit test-platform. In Trustworthy systems and their applications (TSA), 2015 second international conference on (pp. 1–7). Hualien: IEEE. Chang, C.-K. & Lin, N.-W. (2015). Utgen: A black-box method-level unit-test generator for junit test-platform. In Trustworthy systems and their applications (TSA), 2015 second international conference on (pp. 1–7). Hualien: IEEE.
6.
Zurück zum Zitat Bouquet, F., Grandpierre, C., Legeard, B., Peureux, F., Vacelet, N., & Utting, M. (2007). A subset of precise uml for model-based testing. In Proceedings of the 3rd international workshop on advances in model-based testing (pp. 95–104). London: ACM. Bouquet, F., Grandpierre, C., Legeard, B., Peureux, F., Vacelet, N., & Utting, M. (2007). A subset of precise uml for model-based testing. In Proceedings of the 3rd international workshop on advances in model-based testing (pp. 95–104). London: ACM.
7.
Zurück zum Zitat Linzhang, W., Jiesong, Y., Xiaofeng, Y., Jun, H., Xuandong, L., & Z. Guoliang (2004). Generating test cases from uml activity diagram based on gray-box method. In Software engineering conference, 2004. 11th Asia-Pacific (pp. 284–291). Busan: IEEE. Linzhang, W., Jiesong, Y., Xiaofeng, Y., Jun, H., Xuandong, L., & Z. Guoliang (2004). Generating test cases from uml activity diagram based on gray-box method. In Software engineering conference, 2004. 11th Asia-Pacific (pp. 284–291). Busan: IEEE.
8.
Zurück zum Zitat Mingsong, C., Xiaokang, Q., & Xuandong, L. (2006). Automatic test case generation for uml activity diagrams. In Proceedings of the 2006 international workshop on automation of software test (pp. 2–8). Shanghai: ACM. Mingsong, C., Xiaokang, Q., & Xuandong, L. (2006). Automatic test case generation for uml activity diagrams. In Proceedings of the 2006 international workshop on automation of software test (pp. 2–8). Shanghai: ACM.
9.
Zurück zum Zitat Chen, M., Mishra, P., & Kalita, D. (2008). Coverage-driven automatic test generation for uml activity diagrams. In Proceedings of the 18th ACM great lakes symposium on VLSI (pp.139–142). Orlando: ACM. Chen, M., Mishra, P., & Kalita, D. (2008). Coverage-driven automatic test generation for uml activity diagrams. In Proceedings of the 18th ACM great lakes symposium on VLSI (pp.139–142). Orlando: ACM.
10.
Zurück zum Zitat Chen, M., Qiu, X., Xu, W., Wang, L., Zhao, J., & Li, X. (2009). Uml activity diagram-based automatic test case generation for java programs. The Computer Journal, 52(5), 545–556.CrossRef Chen, M., Qiu, X., Xu, W., Wang, L., Zhao, J., & Li, X. (2009). Uml activity diagram-based automatic test case generation for java programs. The Computer Journal, 52(5), 545–556.CrossRef
11.
Zurück zum Zitat McQuillan, J. A., & Power, J. F. (2005). A survey of uml-based coverage criteria for software testing. In Department of computer science. Kildare: NUI Maynooth Co.. McQuillan, J. A., & Power, J. F. (2005). A survey of uml-based coverage criteria for software testing. In Department of computer science. Kildare: NUI Maynooth Co..
12.
Zurück zum Zitat Nirpal, P. B., & Kale, K. (2011). A brief overview of software testing metrics. International Journal on Computer Science and Engineering (IJCSE), 3(1), 204–211. Nirpal, P. B., & Kale, K. (2011). A brief overview of software testing metrics. International Journal on Computer Science and Engineering (IJCSE), 3(1), 204–211.
13.
Zurück zum Zitat Latorre, R. (2014). Effects of developer experience on learning and applying unit test-driven development. IEEE Transactions on Software Engineering, 40(4), 381–395.CrossRef Latorre, R. (2014). Effects of developer experience on learning and applying unit test-driven development. IEEE Transactions on Software Engineering, 40(4), 381–395.CrossRef
14.
Zurück zum Zitat Janzen, D. S., & Saiedian, H. (2005). Test-driven development: Concepts, taxonomy, and future direction. Computer, 38(9), 43–50.CrossRef Janzen, D. S., & Saiedian, H. (2005). Test-driven development: Concepts, taxonomy, and future direction. Computer, 38(9), 43–50.CrossRef
15.
Zurück zum Zitat Boghdady, P. N., Badr, N. L., Hashim, M. A., & Tolba, M. F. 2011. An enhanced test case generation technique based on activity diagrams. In Computer engineering & systems (ICCES), 2011 international conference on (pp. 289–294). Cairo: IEEE. Boghdady, P. N., Badr, N. L., Hashim, M. A., & Tolba, M. F. 2011. An enhanced test case generation technique based on activity diagrams. In Computer engineering & systems (ICCES), 2011 international conference on (pp. 289–294). Cairo: IEEE.
16.
Zurück zum Zitat Swain, R. K., Panthi, V., & Beher, P. K. (2013). Generation of test cases using activity diagram. International journal of computer science and informatics, 2(2), 2231–5292. Swain, R. K., Panthi, V., & Beher, P. K. (2013). Generation of test cases using activity diagram. International journal of computer science and informatics, 2(2), 2231–5292.
Metadaten
Titel
EasyTest: An Approach for Automatic Test Cases Generation from UML Activity Diagrams
verfasst von
Fernando Augusto Diniz Teixeira
Glaucia Braga e Silva
Copyright-Jahr
2018
DOI
https://doi.org/10.1007/978-3-319-54978-1_54