Weld instance has:
automatic discovery disabled
concurrent deployment disabled
@EnableAutoWeld
instead of @ExtendWith(WeldJunit5AutoExtension.class).@EnableWeld
instead of @ExtendWith(WeldJunit5Extension.class).WeldInitiator.createWeld() method and the given bean classes are added.Weld instance.WeldInitiator.createWeld() method and all the classes from the test class
package are added.@OverrideBean is, strictly speaking, an always enabled alternative stereotype.WeldContainer to ExtensionContext.StoreExtensionContext.Store based on provided ExtensionContextWeldJunit5Extension.WeldInitiator instance, e.g.WeldJunit5Extension allowing to fully leverage annotation based configuration approach.WeldInitiator field annotated with WeldSetup is present on a test class, all service providers of this interface are used to enrich the
default test environment.Copyright © 2018. All rights reserved.