【文件属性】:
文件名称:atdd-rest-api:功能测试 (ATDD) 和为 REST API 生成的文档
文件大小:794KB
文件格式:ZIP
更新时间:2021-06-06 22:18:36
JavaScript
一个公开 REST API 的简单 JAX-RS (Jersey) 项目。
单元测试
UT 使用 Retrofit 作为 REST 客户端库
mvn test
功能测试
功能测试使用 Cucumber( activity.feature 中的示例)
Feature : When an activity is created, it appears in the Activity Streams
Scenario : the activity appears in the Activity Stream of the owner of the activity
Given I publish an activity with title "Hello World!"
When I consult my Activity Stream
Then this ac
【文件预览】:
atdd-rest-api-master
----pom.xml(7KB)
----src()
--------swagger-doc-template()
--------test()
--------main()
----README.md(1KB)