Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).
Library that provides collection, processing, and rendering functionality for PHP code coverage information.
Highly opinionated mocking framework for PHP 5.3+
PHP Hamcrest implementation [Official]
Full-stack testing PHP framework
- codeception
- php
- phpunit
- bdd
BDD in PHP
The Phoronix Test Suite open-source, cross-platform automated testing/benchmarking software.
A browser testing and web crawling library for PHP and Symfony
Expressive fixtures generator
Provides utilities for PHPUnit, especially user deprecation notices management
ezXSS is an easy way for penetration testers and bug bounty hunters to test (blind) Cross Site Scripting.
PHP Mutation Testing library
Common PHP webshells you might need for your Penetration Testing assignments or CTF challenges. Do not host the file(s) on your server!
Laravel Dusk provides simple end-to-end testing and browser automation.
VW PHPUnit extension makes your failing test cases succeed under CI tools scrutiny
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
- php-vcr
- php
- accurate-tests
- replay
Symfony bundle to isolate your app's doctrine database tests and improve the test performance
PHPUnit Pretty Result Printer -- make your PHPUnit tests look pretty!
- hacktoberfest
- hacktoberfest2020
:heavy_check_mark: PHP Test Framework for Freedom, Truth, and Justice
A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.
Some helper classes for writing functional tests in Symfony
Tester: enjoyable unit testing in PHP with code coverage reporter. 🍏🍏🍎🍏
Mock built-in PHP functions (e.g. time(), exec() or rand())
- php
- mock
- builtin-functions
Playwright PHP library for browser automation: navigation, E2E tests, assertions, screenshots, and so much more!