Is JbpmJUnitBaseTestCase based unit test supported in business-central
36 views
Skip to first unread message
S. H.
unread,
Mar 7, 2022, 6:46:45 PM3/7/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jBPM Setup
Hi,
I have exactly the same question asked at https://access.redhat.com/solutions/5841321, but I can't see the solution there as I don't have a red hat subscription. I'm wondering if anyone here has an answer? Thanks!
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'