Migration of Unit Tests of C# Programs
Authors:
- Anna Derezińska,
- Sofia Krutko
Abstract
Maintenance of a project with unit tests could require moving from one test platform to another. It can be established by an automated test re-generation or by transformation of the test code. The latter is recommended in case of a high quality test set. Preservation of the intrinsic knowledge introduced by the test developers could also be of high importance. NUnit and MSTest of Visual Studio are among the most popular unit test frameworks for C# programs. The ability of test transformation from NUnit to MSTest has been investigated. Transformation rules were implemented in a prototype tool integrated with Visual Studio, but only a subset of possible constructions have their straightforward equivalents. Experiments confirmed the potential benefits of the approach, but also limitations of the target tests.
- Record ID
- WUT24922d9e3e0c46a5b1f789b2d994270a
- Author
- Pages
- 53-62
- Book
- Zamojski Wojciech, Wojciech Zamojski Mazurkiewicz Jacek, Jacek Mazurkiewicz Sugier Jarosław Jarosław Sugier [et al.] (eds.): Theory and Engineering of Dependable Computer Systems and Networks, 2021, Cham, Springer International Publishing, 512 p., ISBN 9783030767723. DOI:10.1007/978-3-030-76773-0 Opening in a new tab
- DOI
- DOI:10.1007/978-3-030-76773-0_6 Opening in a new tab
- URL
- https://doi.org/10.1007/978-3-030-76773-0_6 Opening in a new tab
- Language
- eng (en) English
- Score (nominal)
- 40
- Score source
- conferenceList
- Score
- = 40.0, 06-05-2022, ChapterFromConference
- Uniform Resource Identifier
- https://repo.pw.edu.pl/info/article/WUT24922d9e3e0c46a5b1f789b2d994270a/
- URN
urn:pw-repo:WUT24922d9e3e0c46a5b1f789b2d994270a
* presented citation count is obtained through Internet information analysis and it is close to the number calculated by the Publish or PerishOpening in a new tab system.