This content has been marked as final.
Show 1 reply
-
1. Re: Do JUnit classes have to be in the same directory as main classes for weld to find all classes?
hhcofcmds Oct 4, 2012 5:34 AM (in response to peteraymond)Hi,
It looks like I succeeded to run weld-se tests in a maven project. My empty beans.xml is in the src/main/resources/META-INF directory, my beans are in the src/main/java and my test class, that initializes the container (new Weld().initialize() ) is under src/test/java.
It didn't work for the first time, and as I am working in eclipse, it needed some serious refresh and clean many times. It now works from eclipse and with command line 'mvn clean test' as well.
cheers, Gabor