Testing of object-oriented software

Utilisation of the UML in testing

Matti Kärki

Research output: Book/ReportReportProfessional

Abstract

The modern software development requires more efficient production methods than ever before. It has been recognised that benefits can be obtained in software development by using object-orientation. Testing, however, has gained less attention, although it is still an important task in the software development to achieve such goals as finding errors and quality. The goal of this paper is to study how object-orientation affects testing as well as how the testing techniques that are adapted for object-orientation can be used for test design purposes. Utilisation of the Unified Modelling Language (UML) in testing is introduced, and some practical solutions to avoid the obstacles of the testing of object-oriented software are addressed as well. Moreover, these solutions are combined and a test automation system (test driver implementation), which makes it easier to test the object-oriented software, is presented. Finally, the testing techniques that are studied, are applied to a demonstration system, which is designed and implemented by using a CASE tool called Rhapsody. As Rhapsody provides its own impact to testing and test design, it is shown how the various UML diagrams are used for test design purposes in the context of Rhapsody. Although object-orientation provides benefits for software development, it can be argued that the testing of object-oriented systems is occasionally more difficult compared to the testing of traditional systems. However, by planning tests carefully and taking the special needs of the testing of object-oriented software into account, these obstacles can partially be avoided. Furthermore, since the UML provides a notation to express software designs, and as object-orientation emphasises functional testing, the UML gives information for test design that should not be overlooked.
Original languageEnglish
Place of PublicationEspoo
PublisherVTT Technical Research Centre of Finland
Number of pages77
ISBN (Electronic)951-38-5817-0
ISBN (Print)951-38-5816-2
Publication statusPublished - 2001
MoE publication typeD4 Published development or research report or study

Publication series

NameVTT Tiedotteita - Meddelanden - Research Notes
PublisherVTT
No.2092
ISSN (Print)1235-0605
ISSN (Electronic)1455-0865

Fingerprint

Unified Modeling Language
Testing
Software engineering
Software design
Demonstrations
Automation

Keywords

  • Unifield Modelling Language
  • software development
  • software test processes
  • software test automation

Cite this

Kärki, M. (2001). Testing of object-oriented software: Utilisation of the UML in testing. Espoo: VTT Technical Research Centre of Finland. VTT Tiedotteita - Meddelanden - Research Notes, No. 2092
Kärki, Matti. / Testing of object-oriented software : Utilisation of the UML in testing. Espoo : VTT Technical Research Centre of Finland, 2001. 77 p. (VTT Tiedotteita - Meddelanden - Research Notes; No. 2092).
@book{f2ccd59f7807433191c481dbce83cb9a,
title = "Testing of object-oriented software: Utilisation of the UML in testing",
abstract = "The modern software development requires more efficient production methods than ever before. It has been recognised that benefits can be obtained in software development by using object-orientation. Testing, however, has gained less attention, although it is still an important task in the software development to achieve such goals as finding errors and quality. The goal of this paper is to study how object-orientation affects testing as well as how the testing techniques that are adapted for object-orientation can be used for test design purposes. Utilisation of the Unified Modelling Language (UML) in testing is introduced, and some practical solutions to avoid the obstacles of the testing of object-oriented software are addressed as well. Moreover, these solutions are combined and a test automation system (test driver implementation), which makes it easier to test the object-oriented software, is presented. Finally, the testing techniques that are studied, are applied to a demonstration system, which is designed and implemented by using a CASE tool called Rhapsody. As Rhapsody provides its own impact to testing and test design, it is shown how the various UML diagrams are used for test design purposes in the context of Rhapsody. Although object-orientation provides benefits for software development, it can be argued that the testing of object-oriented systems is occasionally more difficult compared to the testing of traditional systems. However, by planning tests carefully and taking the special needs of the testing of object-oriented software into account, these obstacles can partially be avoided. Furthermore, since the UML provides a notation to express software designs, and as object-orientation emphasises functional testing, the UML gives information for test design that should not be overlooked.",
keywords = "Unifield Modelling Language, software development, software test processes, software test automation",
author = "Matti K{\"a}rki",
year = "2001",
language = "English",
isbn = "951-38-5816-2",
series = "VTT Tiedotteita - Meddelanden - Research Notes",
publisher = "VTT Technical Research Centre of Finland",
number = "2092",
address = "Finland",

}

Kärki, M 2001, Testing of object-oriented software: Utilisation of the UML in testing. VTT Tiedotteita - Meddelanden - Research Notes, no. 2092, VTT Technical Research Centre of Finland, Espoo.

Testing of object-oriented software : Utilisation of the UML in testing. / Kärki, Matti.

Espoo : VTT Technical Research Centre of Finland, 2001. 77 p. (VTT Tiedotteita - Meddelanden - Research Notes; No. 2092).

Research output: Book/ReportReportProfessional

TY - BOOK

T1 - Testing of object-oriented software

T2 - Utilisation of the UML in testing

AU - Kärki, Matti

PY - 2001

Y1 - 2001

N2 - The modern software development requires more efficient production methods than ever before. It has been recognised that benefits can be obtained in software development by using object-orientation. Testing, however, has gained less attention, although it is still an important task in the software development to achieve such goals as finding errors and quality. The goal of this paper is to study how object-orientation affects testing as well as how the testing techniques that are adapted for object-orientation can be used for test design purposes. Utilisation of the Unified Modelling Language (UML) in testing is introduced, and some practical solutions to avoid the obstacles of the testing of object-oriented software are addressed as well. Moreover, these solutions are combined and a test automation system (test driver implementation), which makes it easier to test the object-oriented software, is presented. Finally, the testing techniques that are studied, are applied to a demonstration system, which is designed and implemented by using a CASE tool called Rhapsody. As Rhapsody provides its own impact to testing and test design, it is shown how the various UML diagrams are used for test design purposes in the context of Rhapsody. Although object-orientation provides benefits for software development, it can be argued that the testing of object-oriented systems is occasionally more difficult compared to the testing of traditional systems. However, by planning tests carefully and taking the special needs of the testing of object-oriented software into account, these obstacles can partially be avoided. Furthermore, since the UML provides a notation to express software designs, and as object-orientation emphasises functional testing, the UML gives information for test design that should not be overlooked.

AB - The modern software development requires more efficient production methods than ever before. It has been recognised that benefits can be obtained in software development by using object-orientation. Testing, however, has gained less attention, although it is still an important task in the software development to achieve such goals as finding errors and quality. The goal of this paper is to study how object-orientation affects testing as well as how the testing techniques that are adapted for object-orientation can be used for test design purposes. Utilisation of the Unified Modelling Language (UML) in testing is introduced, and some practical solutions to avoid the obstacles of the testing of object-oriented software are addressed as well. Moreover, these solutions are combined and a test automation system (test driver implementation), which makes it easier to test the object-oriented software, is presented. Finally, the testing techniques that are studied, are applied to a demonstration system, which is designed and implemented by using a CASE tool called Rhapsody. As Rhapsody provides its own impact to testing and test design, it is shown how the various UML diagrams are used for test design purposes in the context of Rhapsody. Although object-orientation provides benefits for software development, it can be argued that the testing of object-oriented systems is occasionally more difficult compared to the testing of traditional systems. However, by planning tests carefully and taking the special needs of the testing of object-oriented software into account, these obstacles can partially be avoided. Furthermore, since the UML provides a notation to express software designs, and as object-orientation emphasises functional testing, the UML gives information for test design that should not be overlooked.

KW - Unifield Modelling Language

KW - software development

KW - software test processes

KW - software test automation

M3 - Report

SN - 951-38-5816-2

T3 - VTT Tiedotteita - Meddelanden - Research Notes

BT - Testing of object-oriented software

PB - VTT Technical Research Centre of Finland

CY - Espoo

ER -

Kärki M. Testing of object-oriented software: Utilisation of the UML in testing. Espoo: VTT Technical Research Centre of Finland, 2001. 77 p. (VTT Tiedotteita - Meddelanden - Research Notes; No. 2092).