Path to this page:
Subject: CVS commit: pkgsrc/www/py-test-httpbin
From: Thomas Klausner
Date: 2016-01-02 11:46:01
Message id: 20160102104601.4D9C5FBB3@cvs.NetBSD.org
Log Message:
Import py-test-httpbin-0.2.0 as www/py-test-httpbin.
httpbin 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.
Files: