Wooper¶
FrisbyJS inspired steps for unittest and behave
Source code: https://github.com/actionless/wooper
Package repository: https://pypi.org/project/wooper/
Documentation: http://actionless.github.io/wooper/
Table of Contents¶
Using with Behave
Using with UnitTest
- Test class for UnitTest
ApiMixinApiMixin.server_urlApiMixin.DELETE()ApiMixin.GET()ApiMixin.HEAD()ApiMixin.PATCH()ApiMixin.POST()ApiMixin.PUT()ApiMixin.enable_ssl_verificationApiMixin.expect_body_contains()ApiMixin.expect_headers()ApiMixin.expect_headers_contain()ApiMixin.expect_json()ApiMixin.expect_json_contains()ApiMixin.expect_json_length()ApiMixin.expect_json_match()ApiMixin.expect_json_not_contains()ApiMixin.expect_status()ApiMixin.expect_status_in()ApiMixin.json_responseApiMixin.print_headersApiMixin.print_payloadApiMixin.print_url
- Example using with Unittest