Releases: weld/weld-testing
Releases · weld/weld-testing
1.2.1.Final
MockBean- make it possible to specify the bean class- Add convenient
MockBean.Builder.selectedAlternative()method (#22) - Introduce
MockInterceptor - Add
WeldInitiator.performDefaultDiscovery()method
1.2.0.Final
- added JUnit5 support (#9)
- dropped JDK7 support
- introduced mocking injection services to easily mock
@Resource,@EJB,@PersistenceUnitand@PersistentContextinjection points (#18)
Migration notes
org.jboss.weld.junit4.MockBeanwas renamed toorg.jboss.weld.junit.MockBeanorg.jboss.weld.junit4.WeldInitiatoris currently missingcreateWeld()method, see also #24
1.1.0.Final
WeldInitiator- make it possible to add beans duringAfterBeanDiscovery(#4)- also add
MockBeanwith builder (see also https://github.com/weld/weld-junit/blob/master/junit4/src/test/java/org/jboss/weld/junit4/bean/AddBeanTest.java)