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

Tibor Zimanyi (Jira) issues at jboss.org
Thu Sep 26 09:05:01 EDT 2019


     [ https://issues.jboss.org/browse/DROOLS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tibor Zimanyi closed DROOLS-2453.
---------------------------------
    Resolution: Won't Do


> 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 Zimanyi
>            Assignee: Tibor Zimanyi
>            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.13.8#713008)


More information about the jboss-jira mailing list