Uploaded image for project: 'Apache NiFi MiNiFi C++'
  1. Apache NiFi MiNiFi C++
  2. MINIFICPP-1287

Make test configuration files build artifacts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 1.0.0
    • 0.7.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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hunyadi Adam Hunyadi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: