-
-
Notifications
You must be signed in to change notification settings - Fork 3
Getting Started
To add this library to your build, simply add the following lines in your build.gradle
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
testCompile("com.github.xgouchet.Elmyr:core:x.x.x")
testCompile("com.github.xgouchet.Elmyr:core:x.x.x")
}
If you need Elmyr in your production code (and not just in your tests), replace testCompile
with compile
.
If needed you can also use other artifacts, by replacing core
with the artifact name (eg : junit4
, junit5
, jvm
, more on this below).
To add this library, add the following repository to your pom.xml
:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Then, add the dependency :
<dependency>
<scope>test</scope>
<groupId>com.github.xgouchet.Elmyr</groupId>
<artifactId>core</artifactId>
<version>x.x.x</version>
</dependency>
If you need Elmyr in your production code (and not just in your tests), remove the <scope>
node.
If needed you can also use other artifacts, by replacing core
with the artifact name (eg : junit4
, junit5
, jvm
, more on this below).
This is the core module of Elmyr, providing the base utilities to forge data for your tests. It is required by all the other modules.
This artifact provides a JUnit4 Rule that simplify the process of writing JUnit4 style tests with Elmyr.
This artifact provides a JUnit5 Extension that simplify the process of writing JUnit4 style tests with Elmyr.
This artifact implements a bunch of ForgeryFactory to generate random standard from the java standard library.
Xavier F. Gouchet – @xgouchet
Distributed under the MIT license. See LICENSE.md for more information.
https://github.com/xgouchet/Elymr
- Home
- Getting Started
- Core Module
- Integrations
- Reference (core)
- Reference (junit4)
- Reference (junit5)
- Reference (spek)