Java Test Data Generator Tools


License

License

Categories

Categories

Java Languages Data
GroupId

GroupId

com.github.binarywang
ArtifactId

ArtifactId

java-testdata-generator
Last Version

Last Version

1.1.2
Release Date

Release Date

Type

Type

jar
Description

Description

Java Test Data Generator Tools
Java Test Data Generator Tools
Project URL

Project URL

https://github.com/binarywang/java-generator
Source Code Management

Source Code Management

https://github.com/binarywang/java-generator

Download java-testdata-generator

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.binarywang/java-testdata-generator/ -->
<dependency>
    <groupId>com.github.binarywang</groupId>
    <artifactId>java-testdata-generator</artifactId>
    <version>1.1.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.binarywang/java-testdata-generator/
implementation 'com.github.binarywang:java-testdata-generator:1.1.2'
// https://jarcasting.com/artifacts/com.github.binarywang/java-testdata-generator/
implementation ("com.github.binarywang:java-testdata-generator:1.1.2")
'com.github.binarywang:java-testdata-generator:jar:1.1.2'
<dependency org="com.github.binarywang" name="java-testdata-generator" rev="1.1.2">
  <artifact name="java-testdata-generator" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.binarywang', module='java-testdata-generator', version='1.1.2')
)
libraryDependencies += "com.github.binarywang" % "java-testdata-generator" % "1.1.2"
[com.github.binarywang/java-testdata-generator "1.1.2"]

Dependencies

compile (3)

Group / Artifact Type Version
com.google.guava : guava jar 19.0
org.apache.commons : commons-lang3 jar 3.4
joda-time : joda-time jar 2.7

test (4)

Group / Artifact Type Version
mysql : mysql-connector-java jar 5.1.39
org.testng : testng jar 6.9.10
org.assertj : assertj-guava jar 3.0.0
com.google.inject : guice jar 4.1.0

Project Modules

There are no modules declared in this project.

码云Gitee Github Build Status Maven Central

Java实现的各种随机测试数据生成器,包括身份证号码,银行卡号,姓名,汉字、手机号,电子邮箱地址和生成insert sql参数列表字符串等。


具体用法请参考单元测试: 即 /src/test/java/cn/binarywang/tools/generator 下的测试类


Maven 引用方式

<dependency>
    <groupId>com.github.binarywang</groupId>
    <artifactId>java-testdata-generator</artifactId>
    <version>1.1.2</version>
</dependency>

Versions

Version
1.1.2
1.1.1