You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Spring Boot 2 project setup with the following directory structure
project
+- src
+- main
+- resources
+- application.properties
+- ebean.mf
+- test
+- resources
+- application-test.properties
+- ebean.mf
I'm able to run the project from VSCode without any issues thanks to this new Ebean plugin.
However when I try to run a single JUnit test class or method, I get a failure with the message
io.ebean.config.BeanNotEnhancedException: Bean class package.path.to.my.model.class is not enhanced? Check packages specified in ebean.mf
The test ebean.mf file is the same as the main project's and I don't run into this issue when executing tests in IntelliJ.
Is there something special I need to do to have the Ebean Enhancement Plugin work in a testing context for VSCode?
The text was updated successfully, but these errors were encountered:
Hello @peterko2017,
Thank you for reporting this issue. The initial release of the plugin was not tested for Ebean enhancement for tests. I will fix this issue in the next release. The expected release date for the next release should before end of August 2020
Environment
VSCode - v1.46.1
Ebean Enhancement 11 - v1.0.1
Java Test Runner - v0.23.0
Ebean - v12.3.4
Jupiter - 5.6.2
Description
I have a Spring Boot 2 project setup with the following directory structure
I'm able to run the project from VSCode without any issues thanks to this new Ebean plugin.
However when I try to run a single JUnit test class or method, I get a failure with the message
The test
ebean.mf
file is the same as the main project's and I don't run into this issue when executing tests in IntelliJ.Is there something special I need to do to have the Ebean Enhancement Plugin work in a testing context for VSCode?
The text was updated successfully, but these errors were encountered: