nekofar / pest-plugin-slim
The Pest Slim Plugin
Fund package maintenance!
ud.me/nekofar.crypto
Installs: 13 151
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 1
Open Issues: 3
Requires
- php: >=8.1
- nekofar/slim-test: ^3.2
- pestphp/pest: ^2.0
- pestphp/pest-plugin: ^2.0
Requires (Dev)
- nekofar/dev-tools: ^3.1
- pestphp/pest-dev-tools: ^2.0
- php-di/slim-bridge: ^3.0
- roave/security-advisories: dev-latest
Conflicts
- nekofar/slim-test: <=3.2.0
- v3.1.6
- v3.1.5
- v3.1.4
- v3.1.3
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.5
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.0.7
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- dev-master / 1.x-dev
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.1.0-beta.0
- v1.1.0-alpha.1
- v1.1.0-alpha.0
- v1.0.0
- v1.0.0-beta.0
- v1.0.0-alpha.6
- v1.0.0-alpha.5
- v1.0.0-alpha.4
- v1.0.0-alpha.3
- v1.0.0-alpha.2
- v1.0.0-alpha.1
- v1.0.0-alpha.0
- dev-develop
- dev-dependabot/github_actions/develop/shivammathur/setup-php-2.32.0
- dev-dependabot/github_actions/develop/actions/checkout-3.4.0
This package is auto-updated.
Last update: 2024-12-31 10:44:22 UTC
README
This package is a plugin for Pest PHP. The Slim Plugin for Pest gives your basic functionality for testing your API's built by Slim.
Installation
To get started, install the plugin using composer:
composer require nekofar/pest-plugin-slim --dev
Requires Slim Framework 4 and PHP 8.1 or newer.
Usage
use function Nekofar\Slim\Pest\get; beforeEach(function (): void { $app = require __DIR__ . '/../config/bootstrap.php'; $this->setUpApp($app); }) it('can see home page', function (): void { get('/') ->assertOk() ->assertSee('Welcome'); });
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.