Reverse generation and refactoring of Fit acceptance tests for legacy code

dc.contributor.authorKropp, Martin
dc.contributor.authorSchwaiger, Wolfgang
dc.date.accessioned2025-12-04T08:34:35Z
dc.date.issued2009
dc.description.abstractThe Fit framework is a well established tool for creating early and automated acceptance tests. Available Eclipse plug-ins like FITpro support for new requirements and new code writing of test data and creation of test stubs quite well. In our project we faced the problem, that a large legacy system should undergo a major refactoring. Before this, acceptance tests had to be added to the system to ensure equivalent program behavior before and after the changes. Writing acceptance tests manually for existing code is very laborious, cumbersome and very costly. However reverse generation of fit tests based on legacy code is not foreseen in the current Fit framework, and there are no other tools available to do so. So we decided to develop a tool which allows generation of the complete Fit test code and test specification based on existing code. The tool also includes automatic refactoring of test data when refactoring production code and vice versa, when changing the Fit test specification, it also updates production code accordingly. This reduces the maintenance effort of Fit tests in general and we hope, this will help to spread the usage of Fit for acceptance and integration testing even more.
dc.identifier.issn1662-2014
dc.identifier.issn2296-4169
dc.identifier.urihttps://irf.fhnw.ch/handle/11654/54170
dc.identifier.urihttps://doi.org/10.26041/fhnw-14348
dc.language.isoen
dc.publisherHochschule für Technik FHNW
dc.relation.ispartofIMVS Fokus Report
dc.rights.urihttp://rightsstatements.org/vocab/InC/1.0/
dc.spatialWindisch
dc.subject.ddc005 - Computer Programmierung, Programme und Daten
dc.titleReverse generation and refactoring of Fit acceptance tests for legacy code
dc.type01B - Beitrag in Magazin oder Zeitung
dc.volume3
dspace.entity.typePublication
fhnw.InventedHereYes
fhnw.ReviewTypeLectoring (ex ante)
fhnw.affiliation.hochschuleHochschule für Informatik FHNWde_CH
fhnw.affiliation.institutInstitut für Mobile und Verteilte Systemede_CH
fhnw.openAccessCategoryGreen
fhnw.pagination26-30
fhnw.publicationStatePublished
relation.isAuthorOfPublication892dd908-7ee5-43ca-a254-60e017e228d3
relation.isAuthorOfPublication.latestForDiscovery892dd908-7ee5-43ca-a254-60e017e228d3
Dateien

Originalbündel

Gerade angezeigt 1 - 1 von 1
Lade...
Vorschaubild
Name:
Legacy.pdf
Größe:
469.26 KB
Format:
Adobe Portable Document Format

Lizenzbündel

Gerade angezeigt 1 - 1 von 1
Lade...
Vorschaubild
Name:
license.txt
Größe:
2.66 KB
Format:
Item-specific license agreed upon to submission
Beschreibung: