Published September 18, 2023 | Version v1

Improving XRootD's testing suite

Authors/Creators

Contributors

  • 1. European Organization for Nuclear Research

Description

This document presents a comprehensive exploration of the enhancements made to the testing methodologies within the XRootD project. We explore the transition from legacy testing frameworks like CppUnit to modern alternatives, particularly GoogleTest, as well as the introduction of a local test data generation and the optimization of testing processes by replacing a container-based approach with one based on local instances of XRootD. The result is not only a significant increase in code coverage but also a reduction in testing time. Tests now run seamlessly within the CI pipeline with every commit. We conclude by addressing future opportunities, emphasizing the potential for further code coverage expansion through the additions of tests related to authorization methods and Zip archives.

Files

Angelo_Galavotti_main.pdf

Files (231.2 kB)

Name Size Download all
md5:b26423a23482eb651c76a8580c6281e1
231.2 kB Preview Download

Additional details

Identifiers

CDS Report Number
CERN-STUDENTS-Note-2023-152

Linked records