macpaw/behat-http-mock-context
A Behat context from MacPaw for mocking HTTP interactions in acceptance tests. Stub external HTTP calls and assert requests/responses so scenarios run reliably without live services or network dependencies.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| laracasts/behat-laravel-extension | 0.89 | A Behat extension that boots your Laravel application inside feature tests, giving step definitions access to the container, facades, database helpers, and configuration so you can write BDD-style acceptance tests. | 260 | — | 71 | — | 25 | 11.5 | 10.0 | MIT | 8 years ago | |
| friends-of-behat/mink | 0.88 | — | 90 | 90 | 15 | 157K | 0 | 2.1 | 45.1 | MIT | 2 years ago | |
| macpaw/behat-doctrine-fixtures | 0.88 | Behat extension for Doctrine fixtures that simplifies loading and purging test data in Behat scenarios. Integrates Doctrine ORM fixtures with Behat contexts so acceptance tests can seed databases reliably and keep suites isolated. | 7 | 7 | 3 | 1K | 2 | 1.1 | 31.2 | MIT | 2 years ago | |
| friends-of-behat/service-container-extension | 0.88 | Behat extension that lets you declare your own services inside the Behat container without writing an extension, by importing XML, YAML, or PHP service definition files into behat.yml. | 114 | 114 | 4 | 13K | 0 | 15.1 | 31.6 | MIT | 4 months ago | |
| robertfausk/behat-panther-extension | 0.87 | Behat Panther Extension integrates Symfony Panther with Behat, enabling real-browser acceptance tests in Chrome or Firefox. Configure Panther sessions to run JavaScript-heavy scenarios and get reliable end-to-end coverage for PHP applications. | 34 | 35 | 10 | 84K | 1 | 15.8 | 52.8 | NOASSERTION | 3 months ago | |
| kunstmaan/behat-bundle | 0.87 | Kunstmaan BehatBundle adds Behat behavior-driven testing support to Symfony and Kunstmaan projects, offering reusable contexts, Mink integration, and practical helpers for testing CMS features, admin screens, and user workflows. It helps teams write readable acceptance tests and improve QA. | 16 | 16 | 2 | 28 | 0 | 0.1 | 5.8 | MIT | 12 years ago | |
| friends-of-behat/page-object-extension | 0.87 | Behat extension providing base Page and Element classes for the page object pattern, plus SymfonyPage for straightforward Symfony support. Extracted from Sylius and inspired by SensioLabs, it helps structure and reuse your acceptance test code. | 177 | 177 | 10 | 151K | 3 | 16.2 | 46.0 | — | 4 months ago | |
| dvdoug/behat-code-coverage | 0.87 | Behat Code Coverage is a Behat extension that generates PHP code coverage reports while running your test suite. It wraps php-code-coverage—the same library used by PHPUnit—so reports are familiar and interoperable with existing tooling. | 62 | 62 | 16 | 89K | 0 | 21.4 | 48.7 | BSD-2-Clause | 4 months ago | |
| behat/mink-extension | 0.87 | — | 620 | 644 | 279 | 49K | 74 | 17.4 | 34.7 | MIT | 8 years ago | |
| friends-of-behat/mink-extension | 0.87 | — | 139 | 140 | 46 | 1M | 6 | 6.9 | 57.1 | MIT | 2 years ago | |
| friends-of-behat/context-service-extension | 0.87 | Deprecated Behat extension that lets you register Behat context classes as Symfony DI services and load them into a scenario-scoped container via imported service config files (XML/YAML/PHP), using the fob.context_service tag. | 109 | 115 | 6 | 3K | 1 | 1.3 | 14.5 | MIT | 7 years ago | |
| ibexa/behat | 0.87 | Ibexa BehatBundle speeds up writing Behat tests for Ibexa DXP, with docs covering setup, running tests, available features, and extending the bundle. Install via Composer as a dev dependency. | 1 | 1 | 1 | 47K | 0 | 26.5 | 63.9 | NOASSERTION | 2 months ago | |
| behat/mink | 0.87 | — | 1,607 | 1,630 | 285 | 1M | 56 | 38.9 | 66.4 | MIT | 11 months ago | |
| rmiller/behat-spec | 0.86 | Behat extension that integrates with PhpSpec to prevent fatal errors on missing classes or methods. Automatically generates specs and examples when Behat encounters undefined domain objects, then can run phpspec to create the code. | 52 | 53 | 6 | 8 | 6 | 2.5 | 2.7 | MIT | 10 years ago | |
| macpaw/behat-api-context | 0.86 | MacPaw's Behat API Context provides ready-made Behat steps for testing HTTP APIs in PHP. Build requests with Guzzle, send them, and assert status codes, headers, JSON payloads, and response structure, making REST API acceptance tests quicker to write and maintain. | 6 | 6 | 5 | 1K | 2 | 8.8 | 34.2 | MIT | 7 months ago | |
| macpaw/behat-nelmio-describer | 0.86 | A Behat extension that hooks into NelmioApiDocBundle to automatically describe and validate JSON responses in your scenarios. Instead of hand-writing assertions, it compares API output against your existing Nelmio documentation, keeping tests concise and your docs honest. | 2 | 1 | 0 | 1K | 0 | 0.2 | 24.6 | MIT | 2 years ago | |
| behat/web-api-extension | 0.86 | Abandoned Behat 3 extension (never had a stable release) that provides testing for JSON APIs. It won't receive further updates, so consider alternatives for new projects; kept here for reference and legacy suites. | 108 | 110 | 108 | 731 | 16 | 4.2 | 12.1 | MIT | — | |
| imbo/behat-api-extension | 0.86 | A Behat 3 extension that provides an easy way to test JSON-based APIs with readable Gherkin steps. Inspired by behat/web-api-extension and originally written to test the Imbo API, it simplifies HTTP request and response assertions in your test suite. | 110 | 110 | 46 | 45K | 3 | 27.5 | 43.1 | MIT | 1 week ago | |
| tomb1n0/guzzle-mock-handler | 0.86 | Lightweight mock handler for Guzzle to fake HTTP responses in tests. Queue responses, simulate status codes, headers, and body content, and inspect requests without making real network calls—useful for unit/integration testing of API clients. | 3 | 3 | 2 | 4K | 4 | 1.1 | 42.0 | MIT | — | |
| friends-of-behat/suite-settings-extension | 0.86 | Behat extension that lets you define default suite settings once and have every suite inherit them. Configure default paths and contexts in behat.yml so new suites pick them up automatically, avoiding repetition. | 210 | 210 | 4 | 101K | 0 | 20.5 | 43.0 | MIT | 1 month ago |
How can I help you explore Laravel packages today?