RJSOG / ExternApiTester

Automated Interpreter, Tester for API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

Automated Interpreter, Tester for API.


Languages

Language:JavaScript 100.0%