Elmyr v1.2.0 Release Notes
Release Date: 2020-09-03 // over 3 years ago-
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
- 👍 Allow using the
Previous changes from v1.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