The importance of testing has recently seen a significant growth, thanks to its benefits to software design (e.g. think of T.D.D.), implementation and maintenance support. As a consequence of this, nowadays it is quite common to in- troduce a test suite into an existing system, which was not designed for it. The software engineer must then decide whether using tools which automatically generate unit tests (test suites necessary foundations) and how. This paper tries to deal with the issue of choosing the best approach. We will describe how different generation techniques (both manual and automatic) have been applied to a real case study. We will compare achieved results us- ing several metrics in order to identify different approaches benefits and shortcomings. We will conclude showing the measure how the adoption of tools for automatic test cre- ation can shift the trade-off between time and quality.

On the Effectiveness of Manual and Automatic Unit Test Generation / A. Bacchelli; P. Ciancarini; D. Rossi;. - ELETTRONICO. - (2008), pp. 258-263. (Intervento presentato al convegno ICSEA 2008 - The Third International Conference on Software Engineering Advances tenutosi a Sliema, Malta nel 26-31 Ottobre 2008).

On the Effectiveness of Manual and Automatic Unit Test Generation

CIANCARINI, PAOLO;ROSSI, DAVIDE
2008

Abstract

The importance of testing has recently seen a significant growth, thanks to its benefits to software design (e.g. think of T.D.D.), implementation and maintenance support. As a consequence of this, nowadays it is quite common to in- troduce a test suite into an existing system, which was not designed for it. The software engineer must then decide whether using tools which automatically generate unit tests (test suites necessary foundations) and how. This paper tries to deal with the issue of choosing the best approach. We will describe how different generation techniques (both manual and automatic) have been applied to a real case study. We will compare achieved results us- ing several metrics in order to identify different approaches benefits and shortcomings. We will conclude showing the measure how the adoption of tools for automatic test cre- ation can shift the trade-off between time and quality.
2008
ICSEA 2008 - The Third International Conference on Software Engineering Advances
258
263
On the Effectiveness of Manual and Automatic Unit Test Generation / A. Bacchelli; P. Ciancarini; D. Rossi;. - ELETTRONICO. - (2008), pp. 258-263. (Intervento presentato al convegno ICSEA 2008 - The Third International Conference on Software Engineering Advances tenutosi a Sliema, Malta nel 26-31 Ottobre 2008).
A. Bacchelli; P. Ciancarini; D. Rossi;
File in questo prodotto:
Eventuali allegati, non sono esposti

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11585/64702
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 18
  • ???jsp.display-item.citation.isi??? ND
social impact