Path to this page:
./
www/py-test-httpbin,
Easily test your HTTP library against a local copy of httpbin
Branch: pkgsrc-2022Q1,
Version: 1.0.0nb1,
Package name: py39-test-httpbin-1.0.0nb1,
Maintainer: pkgsrc-usershttpbin is an amazing web service for testing HTTP libraries. It
has several great endpoints that can test pretty much everything
you need in a HTTP library. The only problem is: maybe you don't
want to wait for your tests to travel across the Internet and back
to make assertions against a remote web service (speed), and maybe
you want to work offline (convenience).
Enter pytest-httpbin. Pytest-httpbin creates a pytest fixture that
is dependency-injected into your tests. It automatically starts up
a HTTP server in a separate thread running httpbin and provides
your test with the URL in the fixture.
Master sites:
Filesize: 11.957 KB
Version history: (Expand)
- (2022-03-31) Package added to pkgsrc.se, version py39-test-httpbin-1.0.0nb1 (created)