Maven
<dependency>
<groupId>com.google.acai</groupId>
<artifactId>acai</artifactId>
<version>1.1</version>
<scope>test</scope>
</dependency>
Changes
API changes in this release:
- Limited GuiceBerry compatibility to support reuse of existing GuiceBerry modules and easier migration. Allows use of modules which use GuiceBerry's
@TestScoped
annotation,TestScopeListener
,TestWrapper
andGuiceBerryEnvMain
. Internally Acai overrides bindings made byGuiceBerryModule
so modules which install that should also be reusable. - Acai now provides a binding for
TearDownAccepter
fromcom.google.common.testing
. Tear downs added to this instance will be run after each test. - Convenience factory methods have been added to
TestingServiceModule
. - It is now an error to have two Acai rules on the same test class (this was never supported but previously no exception would be thrown).
For more details view the full changelog.