apiritif
apiritif copied to clipboard
Apiritif: API testing framework in Python
It seems like I'm unable to install latest version of `apiritif` (1.1.3) due to it depending on `codecov` and that the authors of it decided to pull it from PyPI....
Hello. First I would like to thank you for this tools. I love using it for API testing. I am currently facing an issue deciding witch way I should test...
* Add an HTTP class where client is configurable * Make old `http` class as `HTTP()` default instance using `requests` client * Add a single test case to ensure basic...
``` import time import unittest from apiritif import http, transaction target = http.target('https://jsonplaceholder.typicode.com') target.keep_alive(True) target.auto_assert_ok(False) target.use_cookies(True) class TestRequests2(unittest.TestCase): def test_1_single_request(self): target.get('/') class TestRequests(unittest.TestCase): # will produce test-case sample with one...