[
https://issues.apache.org/jira/browse/MINIFICPP-1287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Hunyadi resolved MINIFICPP-1287.
-------------------------------------
Resolution: Won't Fix
> Make test configuration files build artifacts
> ---------------------------------------------
>
> Key: MINIFICPP-1287
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1287
> Project: Apache NiFi MiNiFi C++
> Issue Type: Improvement
> Affects Versions: 1.0.0
> Reporter: Adam Hunyadi
> Priority: Minor
> Labels: MiNiFi-CPP-Hygiene
> Fix For: 0.7.0
>
>
> *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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)