JData-Forger

Simple library to generate fake data, useful for database seed and development.

License

License

MIT
Categories

Categories

Data
GroupId

GroupId

io.github.hadiljr
ArtifactId

ArtifactId

jdata-forger
Last Version

Last Version

0.2
Release Date

Release Date

Type

Type

jar
Description

Description

JData-Forger
Simple library to generate fake data, useful for database seed and development.
Project URL

Project URL

https://github.com/hadiljr/jdata-forger
Source Code Management

Source Code Management

https://github.com/hadiljr/jdata-forger

Download jdata-forger

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.hadiljr/jdata-forger/ -->
<dependency>
    <groupId>io.github.hadiljr</groupId>
    <artifactId>jdata-forger</artifactId>
    <version>0.2</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.hadiljr/jdata-forger/
implementation 'io.github.hadiljr:jdata-forger:0.2'
// https://jarcasting.com/artifacts/io.github.hadiljr/jdata-forger/
implementation ("io.github.hadiljr:jdata-forger:0.2")
'io.github.hadiljr:jdata-forger:jar:0.2'
<dependency org="io.github.hadiljr" name="jdata-forger" rev="0.2">
  <artifact name="jdata-forger" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.hadiljr', module='jdata-forger', version='0.2')
)
libraryDependencies += "io.github.hadiljr" % "jdata-forger" % "0.2"
[io.github.hadiljr/jdata-forger "0.2"]

Dependencies

test (2)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-api jar 5.7.1
org.junit.jupiter : junit-jupiter-engine jar 5.7.1

Project Modules

There are no modules declared in this project.

JData Forger

Maven Status Build Status Coverage Status License: MIT

Esta biblioteca gera dados falsos. Util para seeds de projetos em desenvolvimento.

Utilização

Maven

No arquivo pom.xml, adicionar a nova dependencia entre as tags <dependencies> ... </dependencies>

<dependency>
    <groupId>io.github.hadiljr</groupId>
    <artifactId>jdata-forger</artifactId>
    <version>0.2</version>
</dependency>

Gradle

No arquivo build.gradle, adicionar a nova dependencia

dependencies {
    implementation 'io.github.hadiljr:jdata-forger:0.2'
}

No Seu Código Java

Forger forger = new Forger();

String cpf = forger.CPF().fake(); // 700.779.240-53

Geradores de Dados Na Versão

  • CPF

TODO

  • Gerador de CNPJ

  • Gerador de Nomes de Pessoas

  • Gerador de Data de Nascimento

  • Gerador de Número de Telefone

  • Adicionar novos geradores de dados no geral

Versions

Version
0.2