Closed Panthro closed 5 years ago
I think I see where you were going with this. But I don't think this ever passed the build validation. Re-running to make sure.
Yea, the build for this PR fails. :'(
You can check the build results using ./gradlew clean build
or ./gradlew check
. The actual command run by TavisCI for validation is ./gradlew clean build
Closing due to inactivity.
The idea of this feature is to have Spring runners that does not allow POJO rules to be executed.
I currently have a scenario where I only have SpringBeans, and within the execution sometimes one bean fail to initialise due to an error (a
BeanInstantiationException
is thrown) and I don't want a POJO rule because the required underlying services are going to be allnull
and the rule will fail with NPE everywhere.So if I have a strict runner that does not load POJO rules when one of my rules fails to instantiate in a spring fashion it will at least warn me with a log + exception in my logs.