Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rjsog/externapitester

Automated Interpreter, Tester for API.
https://github.com/rjsog/externapitester

api js mochajs node

Last synced: about 2 hours ago
JSON representation

Automated Interpreter, Tester for API.

Awesome Lists containing this project

README

        

# ExternApiTester
This project is used to do automated tests on API.
It allow you to describe acceptance test and unit test using json file.
Those filles will be interpreted and executed by the script and he will report you the test result.
## How it works ?


  1. Describe your test by using serie and step files architecture

  2. Execute the script by using you favorite shell

## Available param :


  1. name: 'timeout', alias: 't', type: Number, --> Set the Mocha timeout (optionnal)

  2. name: 'report', alias: 'r', type: String, --> Change Mocha reporter (tc or cli) (optionnal)

  3. name: 'baseUrl', alias: 'u', type: String, --> Set API url (optionnal)

  4. name: 'testFolder', alias: 'f', type: String, --> Set Test Folder (optionnal)

  5. name: 'serieFolder', alias: 's', type: String, --> Set Serie Folder (optionnal)

  6. name: 'stepFolder', alias: 'e', type: String, --> Set Step Folder (optionnal)

  7. name: 'auth', alias: 'a', type: String, --> Set authentification username:password (required)

  8. name: 'help', alias: 'h', type:Null --> Print this help file (optionnal)