1.3.0
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
testCompile("com.github.xgouchet.Elmyr:core:1.3.0")
// Artifacts to integrate Elmyr with your favorite Test Framework
testCompile("com.github.xgouchet.Elmyr:junit4:1.3.0")
testCompile("com.github.xgouchet.Elmyr:junit5:1.3.0")
testCompile("com.github.xgouchet.Elmyr:spek:1.3.0")
// add support for JVM classes forgeries (Date, Locale, …)
testCompile("com.github.xgouchet.Elmyr:jvm:1.3.0")
}
Changelog
inject
- Add a listener to the
ForgeryInjector
to be notified when an injection happens - Allow advanced forgery injections using
@PairForgery
junit4
- Make the error message more verbose
junit5
- Make the error message more verbose
- Allow advanced forgery injections using
@PairForgery
- Add the forge to the global extension context store (use the
ForgeExtension.getForge(ExtensionContext)
method to retrieve it)