Skip to main content

2016 | OriginalPaper | Buchkapitel

Simplified Way of Learning White-Box Testing with JUnit

verfasst von : Keum-Young Sung

Erschienen in: Advanced Multimedia and Ubiquitous Engineering

Verlag: Springer Singapore

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

search-config
loading …

Abstract

In this study, a way of using Eclipse JUnit to perform an independent path testing and composite component testing is suggested. The suggested technique simplifies the complex arrangement of variable value setting of independent path testing so that JUnit facility of Eclipse may be conveniently used to perform a white box testing. A way of using JUnit to perform a Java component consisting of several classes with inheritance relationships is also suggested. To make a use of JUnit for the independent path testing several variables included for a testing purpose may be traced to have the similar effect of the independent path testing. Constructor arguments may be used to check right inheritance declarations to test a composite component with layered inheritance relationships. Using the suggested technique, the process to perform independent path testing and composite component testing may be simplified using Eclipse JUnit facility.

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 Pressman R (2009) Software engineering: a practitioner’s approach, 7th edn. MaGraw-Hill Pressman R (2009) Software engineering: a practitioner’s approach, 7th edn. MaGraw-Hill
2.
Zurück zum Zitat Ghezzi C (2002) Fundamentals of software engineering, 2nd edn. Pearson Ghezzi C (2002) Fundamentals of software engineering, 2nd edn. Pearson
3.
Zurück zum Zitat Khan ME (2011) Different approaches to white box testing technique for finding errors. Int J Softw Eng Appl 5(3) Khan ME (2011) Different approaches to white box testing technique for finding errors. Int J Softw Eng Appl 5(3)
4.
Zurück zum Zitat Tahchiev P (2010) JUnit in action. Manning Publications Tahchiev P (2010) JUnit in action. Manning Publications
5.
Zurück zum Zitat Sommerville I (2007) Software engineering, 8th edn. Addison Wesley Sommerville I (2007) Software engineering, 8th edn. Addison Wesley
6.
Zurück zum Zitat McCabe TJ (1976) A complexity measure. IEEE Trans Softw Eng SE-2(4):308–320 McCabe TJ (1976) A complexity measure. IEEE Trans Softw Eng SE-2(4):308–320
Metadaten
Titel
Simplified Way of Learning White-Box Testing with JUnit
verfasst von
Keum-Young Sung
Copyright-Jahr
2016
Verlag
Springer Singapore
DOI
https://doi.org/10.1007/978-981-10-1536-6_101

Neuer Inhalt