Analysis of static and dynamic test-to-code traceability information

Gergely Tamás; Balogh Gergő; Horváth Ferenc; Vancsics Béla; Beszédes Árpád; Gyimóthy Tibor: Analysis of static and dynamic test-to-code traceability information. In: Acta cybernetica, (23) 3. pp. 903-920. (2018)

[thumbnail of actacyb_23_3_2018_11.pdf]
Előnézet
Cikk, tanulmány, mű
actacyb_23_3_2018_11.pdf

Letöltés (415kB) | Előnézet

Absztrakt (kivonat)

Unit test development has some widely accepted guidelines. Two of them concern the test and code relationship, namely isolation (unit tests should examine only a single unit) and separation (they should be placed next to this unit). These guidelines are not always kept by the developers. They can however be checked by investigating the relationship between tests and the source code, which is described by test-to-code traceability links. Still, these links perhaps cannot be inferred unambiguously from the test and production code. We developed a method that is based on the computation of traceability links for different aspects and report Structural Unit Test Smells where the traceability links for the different aspects do not match. The two aspects are the static structure of the code that reflects the intentions of the developers and testers and the dynamic coverage which reveals the actual behavior of the code during test execution. In this study, we investigated this method on real programs. We manually checked the reported Structural Unit Test Smells to find out whether they are real violations of the unit testing rules. Furthermore, the smells were analyzed to determine their root causes and possible ways of correction.

Mű típusa: Cikk, tanulmány, mű
Befoglaló folyóirat/kiadvány címe: Acta cybernetica
Dátum: 2018
Kötet: 23
Szám: 3
ISSN: 0324-721X
Oldalak: pp. 903-920
Nyelv: angol
Kiadás helye: Szeged
Befoglaló mű URL: http://acta.bibl.u-szeged.hu/55467/
Kulcsszavak: Gráf, Algoritmus
Megjegyzések: Bibliogr.: p. 917-919. ; összefoglalás angol nyelven
Szakterület: 01. Természettudományok
01. Természettudományok > 01.01. Matematika
01. Természettudományok > 01.02. Számítás- és információtudomány
Feltöltés dátuma: 2018. nov. 08. 08:58
Utolsó módosítás: 2022. jún. 21. 08:23
URI: http://acta.bibl.u-szeged.hu/id/eprint/55684
Bővebben:
Tétel nézet Tétel nézet