2

stepci:让 AP​​I 测试和监控变得简单

 1 year ago
source link: https://www.jdon.com/62917
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

stepci:让 AP​​I 测试和监控变得简单

Step CI 是一个开源工具,它使测试和监控 API 变得简单:
概览:
  • 语言无关。灵活的声明式配置语言
  • REST、GraphQL、XML
  • 融合的。与 Node、Docker 和 GitHub Actions 无缝协作

试用演示

使用 Docker
创建示例工作流 ( tests/workflow.yml)

version: "1.0"
name: Status Check
env:
  host: example.com
tests:
  example:
    steps:
      - name: GET request
        url: https://{{env.host}}
        method: GET
        check:
          status: /^20/
运行 Docker 镜像
docker run -v "$(pwd)"/tests:/tests ghcr.io/stepci/stepci tests/workflow.yml
可以在examples/下面找到 Step CI 示例测试:

项目点击标题 

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK