Try to use Cucumber to run BDD in jmix project

Hello!
My project has multi add-ons.
I want to run BDD using cucumber at the Jmix project.

But there are some problems,
one is: I don’t find the document of the unit test or other test hints. :smiling_face_with_tear:
second is: If the test needs to depend another add-on entity. Is there any way to depend?

Note:

  1. I know @SpringBootTest can run unit-test, but I want to use Cucumber(or any better suggestion~?)
  2. because I didn’t set dependency, when I run the cucumber test spring boot will throw this exception:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'core_UserSubstitutionManager': Unsatisfied dependency expressed through field 'userRepository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auth_UserRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: MetaClass not found for class com.a.b.ts.core.auth.user.entity.User
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:659) ~[spring-beans-5.3.23.jar:5.3.23]
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:639) ~[spring-beans-5.3.23.jar:5.3.23]
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) ~[spring-beans-5.3.23.jar:5.3.23]
  1. I know my English is not very will, sorry :worried:

please help, thx~~

Please attach a simple test project with a Cucumber test where the problem is reproduced. We’ll try to devise a solution.