{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/8"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/5"}],"enrichment":{"capability":"Provides a pytest fixture that runs a local httpbin server in a test thread, eliminating the need for remote HTTP service calls during testing.","skillfed_tags":["pytest-plugin","http-testing","test-fixtures"],"use_cases":["Test HTTP client code without relying on external services or network connectivity.","Verify your application's HTTP request handling against a predictable local server.","Run fast, isolated test suites that don't depend on httpbin.org availability.","Test HTTPS endpoints and certificate handling using the included CA certificate.","Develop and validate HTTP client libraries in CI/CD pipelines without network calls."],"what_it_does":"pytest-httpbin is a pytest plugin that injects a fixture providing a local HTTP server running httpbin\u2014a service designed to test HTTP client libraries. Instead of making test requests to a remote httpbin.org service, your tests run against a server started in a separate thread on your machine, eliminating network latency and external dependencies.\n\nYou use it by accepting the httpbin fixture in your test function and accessing its URL property to make requests. The package supports both HTTP and HTTPS (with its own CA certificate included), and integrates seamlessly with pytest's fixture injection model. It's built on httpbin, which provides endpoints for testing GET, POST, headers, redirects, status codes, and other HTTP behaviors.","worth_installing":"Yes. This is a stable, actively maintained testing utility with minimal dependencies and no known vulnerabilities. If you test HTTP client code and want to avoid remote service calls, it directly solves that problem with a clean pytest integration. The low install friction and permissive license make adoption straightforward."},"id":"pytest-httpbin","links":{"html":"https://skillfed.io/packages/pytest-httpbin","md":"https://skillfed.io/packages/pytest-httpbin.md","pypi":"https://pypi.org/project/pytest-httpbin/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-09-18","license_spdx":null,"license_treatment":"permissive","name":"pytest-httpbin","python_support":"supports_current","summary":"Easily test your HTTP library against a local copy of httpbin"},"popularity":{"monthly_downloads":157747,"position":10746,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1.0"}
