API testing framework
Project description
apirun
A simple API test framework for doing api test easy.
How to Use It?
Open Console, type apirun --help
, you will see some parameters
-f TESTCASEFILE, --testcasefile=TESTCASEFILE
TESTCASEFILE is .xls format, you can write testcases in it.
-F TESTCASEFOLDER, --testcasefolder=TESTCASEFOLDER
TESTCASEFOLDER contains TESTCASEFILEs, you need write
folder
orfolder\\
, never\\folder
; default is None, which means to scan the current work dir.
--report=REPORT
Folder to store test results, default is
report
.
--demo
Make demo xls in working dir.
-V, --version
Show the version.
sending email after finishing api test
--from
the user who sends email, will cover the info in email.json
--to
the user(s) who receive email, will cover the info in email.json
--subject
the email subject, will cover the info in email.json, default is
API Test Result
--host
the email host, will cover the info in email.json, is required no metter in json file or in parameter
Pending
- More api test situations
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for apirun-0.2.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fd8199a24445d86005c048c998f1e0150f9ebf7c8afedf38822ed2e01845db1 |
|
MD5 | 1dd98382f39acb8e30dc54d0901df6f4 |
|
BLAKE2b-256 | df50a04aaaf10b1faa0cb154671a51eea1fc8368e9740f7ca071e016fb11635c |