com.github.onlypiglet:autojunit-core

a project about auto gen junit source

License

License

Categories

Categories

JUnit Unit Testing Auto Application Layer Libs Code Generators
GroupId

GroupId

com.github.onlypiglet
ArtifactId

ArtifactId

autojunit-core
Last Version

Last Version

1.0.1-alpha
Release Date

Release Date

Type

Type

jar
Description

Description

a project about auto gen junit source

Download autojunit-core

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.onlypiglet/autojunit-core/ -->
<dependency>
    <groupId>com.github.onlypiglet</groupId>
    <artifactId>autojunit-core</artifactId>
    <version>1.0.1-alpha</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.onlypiglet/autojunit-core/
implementation 'com.github.onlypiglet:autojunit-core:1.0.1-alpha'
// https://jarcasting.com/artifacts/com.github.onlypiglet/autojunit-core/
implementation ("com.github.onlypiglet:autojunit-core:1.0.1-alpha")
'com.github.onlypiglet:autojunit-core:jar:1.0.1-alpha'
<dependency org="com.github.onlypiglet" name="autojunit-core" rev="1.0.1-alpha">
  <artifact name="autojunit-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.onlypiglet', module='autojunit-core', version='1.0.1-alpha')
)
libraryDependencies += "com.github.onlypiglet" % "autojunit-core" % "1.0.1-alpha"
[com.github.onlypiglet/autojunit-core "1.0.1-alpha"]

Dependencies

compile (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

AutoJunit

LICENSEGPL Licencejdk>=1.8codacyAJ AJ


简介

自动生成基于Maven工程的Junit的单元测试文件

快速入门

<dependency>
    <groupId>com.github.onlypiglet</groupId>
    <artifactId>autojunit-core</artifactId>
    <version>1.0.1-alpha</version>
</dependency>


<plugin>    
    <groupId>com.github.onlypiglet</groupId>
    <artifactId>autojunit</artifactId>
    <version>1.0.1-alpha</version>   
    <executions>        
        <execution>            
            <phase>generate-test-sources</phase>            
            <goals>                
                <goal>genjunit</goal>            
            </goals>        
        </execution>    
    </executions>
</plugin>

在Pom.xml中添加相应插件,并执行mvn clean generate-test-sources

Versions

Version
1.0.1-alpha