Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
There are some classes, notably TestServer, which are in the nifi standard processors jar which could be used by other processors, either in the project ( already 2 or 3 copies ) or in 3rd party processor/controller projects.
link Apache Maven details how to handle this case in two ways.
- create a test-jar from the project
- create a new module to hold shared testing code and scope:test include it
While #2 is the preferred way, nifi should support #1 in the interim, until some discussion on the location and structure of the test module(s) and the classes that should be moved to them happens. The scope there will be quite a bit larger.
Attachments
Attachments
Issue Links
- links to