ngast-api-test

基于 Test(NG) + (A)llure + Re(st) Assured 实现接口测试

License

License

GroupId

GroupId

com.zxytech.ngast
ArtifactId

ArtifactId

ngast-api-test
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

pom
Description

Description

ngast-api-test
基于 Test(NG) + (A)llure + Re(st) Assured 实现接口测试
Project URL

Project URL

https://github.com/stornado/ngast
Source Code Management

Source Code Management

https://github.com/stornado/ngast/tree/master

Download ngast-api-test

Filename Size
ngast-api-test-0.1.0.pom 7 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/com.zxytech.ngast/ngast-api-test/ -->
<dependency>
    <groupId>com.zxytech.ngast</groupId>
    <artifactId>ngast-api-test</artifactId>
    <version>0.1.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.zxytech.ngast/ngast-api-test/
implementation 'com.zxytech.ngast:ngast-api-test:0.1.0'
// https://jarcasting.com/artifacts/com.zxytech.ngast/ngast-api-test/
implementation ("com.zxytech.ngast:ngast-api-test:0.1.0")
'com.zxytech.ngast:ngast-api-test:pom:0.1.0'
<dependency org="com.zxytech.ngast" name="ngast-api-test" rev="0.1.0">
  <artifact name="ngast-api-test" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.zxytech.ngast', module='ngast-api-test', version='0.1.0')
)
libraryDependencies += "com.zxytech.ngast" % "ngast-api-test" % "0.1.0"
[com.zxytech.ngast/ngast-api-test "0.1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • ngast-archetype
  • ngast-bom
  • ngast-core
  • ngast-modules-archetype

Ngast

Ngast (|nɑːst|) 基于 Test(NG) + (A)llure + Re(st) Assured 实现接口测试

使用单模块版本

mvn archetype:generate -DarchetypeGroupId=com.zxytech.ngast -DarchetypeArtifactId=ngast-archetype -DartifactId=examples

生成内容

.
└── examples
    ├── .editorconfig
    ├── .gitignore
    ├── HELP.md
    ├── README.md
    ├── pom.xml
    └── src
        └── test
            ├── java
            │   └── com
            │       └── zxytech
            │           └── ngast
            │               └── cases
            │                   └── GithubApiTest.java
            └── resources
                ├── allure.properties
                ├── data
                │   └── test
                ├── ngast-test.properties
                └── ngast.properties

11 directories, 9 files

使用多模块版本

mvn archetype:generate -DarchetypeGroupId=com.zxytech.ngast -DarchetypeArtifactId=ngast-modules-archetype -DartifactId=modules-examples

生成内容

.
└── modules-examples
    ├── .editorconfig
    ├── .gitignore
    ├── HELP.md
    ├── README.md
    ├── allure.properties
    ├── ngast-examples
    │   ├── pom.xml
    │   └── src
    │       └── test
    │           ├── java
    │           │   └── com
    │           │       └── zxytech
    │           │           └── ngast
    │           │               └── cases
    │           │                   └── GithubApiTest.java
    │           └── resources
    │               ├── data
    │               │   └── test
    │               ├── ngast-test.properties
    │               └── ngast.properties
    └── pom.xml

12 directories, 10 files

运行测试

mvn test

生成报告

mvn allure:aggregate
mvn allure:report

本地查看

mvn allure:serve

Versions

Version
0.1.0