在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):serpro69/kotlin-faker开源软件地址(OpenSource Url):https://github.com/serpro69/kotlin-faker开源编程语言(OpenSource Language):Kotlin 98.3%开源软件介绍(OpenSource Introduction):
AboutPort of a popular ruby faker gem written in kotlin. Generates realistically looking fake data such as names, addresses, banking details, and many more, that can be used for testing and data-anonymization purposes. UsageDocumentation for kotlin-faker is available at serpro69.github.io/kotlin-faker/. DownloadingLatest releases are always available on maven central. With gradle dependencies {
implementation 'io.github.serpro69:kotlin-faker:$version'
} With maven <dependencies>
<dependency>
<groupId>io.github.serpro69</groupId>
<artifactId>kotlin-faker</artifactId>
<version>${version}</version>
</dependency>
</dependencies> Snapshots are also available using the following repository: With gradle repositories {
maven {
url = 'https://oss.sonatype.org/content/repositories/snapshots/'
}
} With maven <repositories>
<repository>
<id>sonatype-snapshot</id>
<name>Sonatype Snapshot</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
</repositories> Generating dataval faker = faker { }
faker.name.firstName() // => Ana
faker.address.city() // => New York CLICommand line application can be used for a quick lookup of faker functions. See faker-bot README for installation and usage details. TestTo run unit tests: To run integration tests: Build and DeployTo deploy to OSS Sonatype repo:
Bumping versionsVersions need to be bumped manually through a tag with the next release version that has to follow the semver rules, and the tag has to be pushed to origin. Creating the tag can be either done manually with Pre-releasesTo create a new pre-release version (new release candidate)
the following can be used: To bump an existing pre-release to the next version (next release candidate for the same release version)
the following can be used: ReleasesTo promote a pre-release to a release version the following can be used:
To create a new release version the following can be used:
Make targetsAlternatively to the above targets from Makefile can be used for the same purposes. ContributingThe CONTRIBUTING guidelines should help in getting you started on how to contribute to this project. ThanksMany thanks to these awesome tools that help us in creating open-source software: LicenceThis code is free to use under the terms of the MIT licence. See LICENCE. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论