All Versions
25
Latest Version
Avg Release Cycle
52 days
Latest Release
174 days ago

Changelog History
Page 1

  • v1.2.0

    September 03, 2020
     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
  • v1.1.0

    August 24, 2020
     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
  • v1.0.0

    February 17, 2020

    core

    • Add Primitives and List/Set kotlin delegate forgeries
    • Create a Sequence forgery (eg: Forge.aSequence { aString() })
    • Ensure gaussian forgeries stay within three time the standard deviation

    inject

    • Handle primitives fields / properties annotated with @XxxForgery, as well as String fields/properties annotated with @StringForgery and @RegexForgery

    junit5

    • Handle String forgeries injection annotated with @StringForgery and @RegexForgery
  • v1.0.0-beta3

    December 09, 2019

    core

    • Add the nullable value forgeries
    • Add the enum forgeries

    junit4

    • Handle enums fields annotated with @Forgery

    junit5

    • Fix the error message when a test fails
    • Handle enums fields and parameters annotated with @Forgery

    jvm

    • Improve the File forgery factory
  • v1.0.0-beta2

    December 02, 2019

    core

    • Add the randomizeCase and substring forgeries

    jvm

    • Implement File, Uri and Url forgery factories
  • v1.0.0-beta1

    November 27, 2019

    inject

    • Allow injecting Generics

    junit4

    • Ensure tests are fully reproducible

    junit5

    • Ensure tests are fully reproducible
    • Handle Map Forgeries in JUnit5 methods
    • Handle nested collection forgeries in JUnit5 methods
    • Implement `@BoolForgery in JUnit5 methods
    • Implement primitive forgeries in JUnit5 methods
    • Make the ForgeConfiguration annotation Inherited by child classes
  • v1.0.0-alpha5

    November 18, 2019

    junit5

    • Allow JUnit5 extension to fill in collections
  • v1.0.0-alpha4

    November 18, 2019
  • v1.0.0-alpha3

    November 15, 2019

    junit5

    • Create JUnit5 ForgeConfiguration annotation
  • v1.0.0-alpha2

    November 05, 2019