I'm reading the Arquillian Reference Guide which is very well written, however in the chapter that talks about setting up dependency injection I can't find where you actually specify the beans/bindings.
Most of the Arquillian CDI code examples show the use of Java's @Inject
annotation. So I'm just wondering, where I define these beans/DI mappings/bindings, and how do I configure Arquillian to use them?
In Spring DI, you specify a bean descriptor, like spring-config.xml
. In Guice you implement a Module
and define its configure(Binder)
method. What does this look like in Arquillian-land when using javax.inject.Inject
? Thanks in advance.