Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
1.0.0
Description
Background:
Currently built tests refer back to configuration files placed in the source directory of the project. These configurations are passed by command line arguments.
This causes multiple problems: combining integration tests with functionality provided by the catch2 testing framework is difficult, and finding failing tests by their name assumes understanding on where the test is defined in the cmake file.
Proposal:
Ideally, we should copy configuration files required for testing to the build directory as build artifacts, so that they could be relatively referenced by test files. This would make the configuration <-> test definition associations.