[jboss-jira] [JBoss JIRA] (DROOLS-2453) Create KJarUtils that can be used in tests everywhere

Tibor Zimányi (JIRA) issues at jboss.org
Thu Apr 5 03:47:01 EDT 2018


Tibor Zimányi created DROOLS-2453:
-------------------------------------

             Summary: Create KJarUtils that can be used in tests everywhere
                 Key: DROOLS-2453
                 URL: https://issues.jboss.org/browse/DROOLS-2453
             Project: Drools
          Issue Type: Task
          Components: core engine
    Affects Versions: 7.7.0.Final
            Reporter: Tibor Zimányi
            Assignee: Tibor Zimányi
            Priority: Minor


We have the same getPom() method that creates a pom.xml programatically in tests at various places (e.g. here [1]). This means the code is duplicated at various places. This duplication can be removed by new class KJarUtils that could be placed in drools-test-coverage module that can be than used as a test dependency where needed. 

[1] https://github.com/kiegroup/drools/blob/e3cd2494a2fdc5f203505c7ef21cfe16836f6add/kie-ci/src/test/java/org/kie/scanner/AbstractKieCiTest.java#L156



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list