Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1109/CSMR.2009.39guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

Establishing Traceability Links between Unit Test Cases and Units under Test

Published: 24 March 2009 Publication History

Abstract

Coding and testing are two activities that are tightly intermingled in agile software development, requiring developers to frequently shift between production code and test artifacts. Unfortunately, links between these artifacts are typically implicitly present in the source code, forcing developers towards time consuming code inspections. In this work, we evaluate the potential of six traceability resolution strategies involving test naming and design conventions, static call graphs, call behavior before asserts, lexical analysis and version log mining to make the relation between developer test cases and units under test explicit. The results show that test conventions yield highly accurate results, yet in their absence capturing the destination type of calls right before assert statements appears as a valuable alternative. Combining these strategies allows the user to find a balance between improved applicability and accuracy.

Cited By

View all
  • (2024)An Empirical Study on Focal Methods in Deep-Learning-Based Approaches for Assertion GenerationProceedings of the ACM on Software Engineering10.1145/36607851:FSE(1750-1771)Online publication date: 12-Jul-2024
  • (2023)Drift: Fine-Grained Prediction of the Co-Evolution of Production and Test Code via Machine LearningProceedings of the 14th Asia-Pacific Symposium on Internetware10.1145/3609437.3609449(227-237)Online publication date: 4-Aug-2023
  • (2023)Revisiting the Identification of the Co-evolution of Production and Test CodeACM Transactions on Software Engineering and Methodology10.1145/360718332:6(1-37)Online publication date: 30-Sep-2023
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Guide Proceedings
CSMR '09: Proceedings of the 2009 European Conference on Software Maintenance and Reengineering
March 2009
342 pages
ISBN:9780769535890

Publisher

IEEE Computer Society

United States

Publication History

Published: 24 March 2009

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 25 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2024)An Empirical Study on Focal Methods in Deep-Learning-Based Approaches for Assertion GenerationProceedings of the ACM on Software Engineering10.1145/36607851:FSE(1750-1771)Online publication date: 12-Jul-2024
  • (2023)Drift: Fine-Grained Prediction of the Co-Evolution of Production and Test Code via Machine LearningProceedings of the 14th Asia-Pacific Symposium on Internetware10.1145/3609437.3609449(227-237)Online publication date: 4-Aug-2023
  • (2023)Revisiting the Identification of the Co-evolution of Production and Test CodeACM Transactions on Software Engineering and Methodology10.1145/360718332:6(1-37)Online publication date: 30-Sep-2023
  • (2023)DCLink: Bridging Data Constraint Changes and Implementations in FinTech SystemsProceedings of the 38th IEEE/ACM International Conference on Automated Software Engineering10.1109/ASE56229.2023.00170(914-925)Online publication date: 11-Nov-2023
  • (2021)Semi-automated test-case propagation in fork ecosystemsProceedings of the 43rd International Conference on Software Engineering: New Ideas and Emerging Results10.1109/ICSE-NIER52604.2021.00018(46-50)Online publication date: 25-May-2021
  • (2020)Testing of Mobile Applications in the WildProceedings of the 28th International Conference on Program Comprehension10.1145/3387904.3389256(296-307)Online publication date: 13-Jul-2020
  • (2020)TestRoutesProceedings of the 17th International Conference on Mining Software Repositories10.1145/3379597.3387488(593-597)Online publication date: 29-Jun-2020
  • (2020)Establishing multilevel test-to-code traceability linksProceedings of the ACM/IEEE 42nd International Conference on Software Engineering10.1145/3377811.3380921(861-872)Online publication date: 27-Jun-2020
  • (2019)Source code level word embeddings in aiding semantic test-to-code traceabilityProceedings of the 10th International Workshop on Software and Systems Traceability10.1109/SST.2019.00016(29-36)Online publication date: 27-May-2019
  • (2018)TestNMT: function-to-test neural machine translationProceedings of the 4th ACM SIGSOFT International Workshop on NLP for Software Engineering10.1145/3283812.3283823(30-33)Online publication date: 4-Nov-2018
  • Show More Cited By

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media