Skip to content

1.2.0

Compare
Choose a tag to compare
@xgouchet xgouchet released this 03 Sep 12:40
· 57 commits to main since this release
 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 and RegexForgery
  • Allow advanced forgery injections using @AdvancedForgery and @MapForgery

junit5

  • Allow injecting collections of primitives with @BoolForgery, @IntForgery, @LongForgery, @FloatForgery, @DoubleForgery, as well as @StringForgery and RegexForgery
  • Allow advanced forgery injections using @AdvancedForgery and @MapForgery