Releases: xgouchet/Elmyr
Releases · xgouchet/Elmyr
1.4.0
1.3.4
1.3.3
1.3.2
1.3.1
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)
1.2.0
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
testCompile("com.github.xgouchet.Elmyr:core:1.1.0")
// Artifacts to integrate Elmyr with your favorite Test Framework
testCompile("com.github.xgouchet.Elmyr:junit4:1.1.0")
testCompile("com.github.xgouchet.Elmyr:junit5:1.1.0")
testCompile("com.github.xgouchet.Elmyr:spek:1.1.0")
// add support for JVM classes forgeries (Date, Locale, …)
testCompile("com.github.xgouchet.Elmyr:jvm:1.1.0")
}
Changelog
core
- Allow using the
@StringForgery
annotation to forge Strings based on Regex - Allow setting a size in
@StringForgery
annotation
inject
- Allow injecting collections of primitives with
@BoolForgery
,@IntForgery
,@LongForgery
,@FloatForgery
,@DoubleForgery
, as well as@StringForgery
andRegexForgery
- Allow advanced forgery injections using
@AdvancedForgery
and@MapForgery
junit5
- Allow injecting collections of primitives with
@BoolForgery
,@IntForgery
,@LongForgery
,@FloatForgery
,@DoubleForgery
, as well as@StringForgery
andRegexForgery
- Allow advanced forgery injections using
@AdvancedForgery
and@MapForgery
1.1.0
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
testCompile("com.github.xgouchet.Elmyr:core:1.1.0")
// Artifacts to integrate Elmyr with your favorite Test Framework
testCompile("com.github.xgouchet.Elmyr:junit4:1.1.0")
testCompile("com.github.xgouchet.Elmyr:junit5:1.1.0")
testCompile("com.github.xgouchet.Elmyr:spek:1.1.0")
// add support for JVM classes forgeries (Date, Locale, …)
testCompile("com.github.xgouchet.Elmyr:jvm:1.1.0")
}
Changelog
core
- Fix float and double forgeries (they sometimes returned values out of the requested range)
inject
- Add default String type (i.e.:
ALPHABETICAL
) to the@StringForgery
annotation
spek
- Implement a
spekForge
helper method to add reproducibility in Spek tests
1.0.0
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
testCompile("com.github.xgouchet.Elmyr:core:1.0.0")
testCompile("com.github.xgouchet.Elmyr:junit4:1.0.0")
testCompile("com.github.xgouchet.Elmyr:junit5:1.0.0")
testCompile("com.github.xgouchet.Elmyr:jvm:1.0.0")
}```
1.0.0-beta3
1.0.0-beta3