Is JbpmJUnitBaseTestCase based unit test supported in "business-central" ?

Solution Unverified - Updated -

Issue

  • We have written unit test code that exends JbpmJUnitBaseTestCase for our business processes, they are packaged inside src/test/java folder. However when importing the project into business-central these unit test classes are recognized as "Data Objects" and fail to build.
  • Is there a way to make business central recognize the unit test code extending JbpmJUnitBaseTestCase , or packaged under src/test/java project folder ?
  • In business-central, when trying to build a project that has JbpmJUnitBaseTestCase based unit test classes, it fails with below ClassNotFoundException:

    2020-10-29 10:29:29,812 ERROR [org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaSourceVisitor] (Thread-168) Unable to index superclass name for class: com.redhat.example.MyBaseJbpmTest, superclass: org.jbpm.test.JbpmJUnitBaseTestCase: java.lang.ClassNotFoundException: Unable to find class 'org.jbpm.test.JbpmJUnitBaseTestCase'
    

Environment

  • Red Hat Process Automation Manager
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content