2

GitHub - stepci/stepci: Automated API Testing and Quality Assurance

 1 year ago
source link: https://github.com/stepci/stepci
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

Step CI CLI Demo

Welcome

Step CI is an open-source API Quality Assurance framework

  • Language-agnostic. Configure easily using YAML
  • REST, GraphQL, gRPC, tRPC, SOAP. Test different API types in one workflow
  • Self-hosted. Test services on local network
  • Integrated. Play nicely with others

Read the Docs

Try the Online Playground

Join us on GitHub Discussions

Get started

  1. Install the CLI from NPM

    npm install -g stepci

    Note: Make sure you're using the LTS version of Node.js

  2. Create example workflow

    workflow.yml

    version: "1.1"
    name: Status Check
    env:
      host: example.com
    tests:
      example:
        steps:
          - name: GET request
            http:
              url: https://${{env.host}}
              method: GET
              check:
                status: /^20/

    Note: You can also also use JSON format to configure your workflow

  3. Run the workflow

    stepci run workflow.yml
    PASS  example
    
    Tests: 0 failed, 1 passed, 1 total
    Steps: 0 failed, 1 passed, 1 total
    Time:  0.559s, estimated 1s
    
    Workflow passed after 0.559s
    

Documentation

Documentation is available on docs.stepci.com

Examples

You can find example workflows under examples/

License

The source code is distributed under Mozilla Public License terms

Privacy


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK