0.1.3 • Published 4 years ago

qa-engine-api v0.1.3

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

QA Engine API

A Gerkhin-based API for the A6s platform. See ../qa-engine/README.md

Developer Install

Requires NodeJS and Typescript installed.

npm install
npm start

Configure

See ./config/default.yaml for details.

Example Feature

feature:
  title: Hello World #00
scenarios:
  - title: Hello Google
    steps:
      - given I am testing internet access
      - and I enable redirects
      - when I GET https://google.com
      - then response code should be 200
      - then I pass

Example Call API

Run all features in ./examples/

curl -v localhost:5010/examples/

A6s config

    /examples/*:
      get:
        feature:
          operationId: qa.local
          folder: ./examples/

Work in Progress

  • API response is broken
  • test individual files
  • refactor formats
  • support json, yaml and .feature files
  • suport local + API hosted