Last Updated: February 25, 2016
·
3.519K
· sgtom42

Java CDI and JUnit

If you have to get Java CDI working together with JUnit this is a very lightweight and straightforward way to do so:

http://jglue.org/cdi-unit/

Very well documented and worked for me out of the box.