64 Repositories
PHP ee-unit-tests Libraries
Fully covered with tests, documented by Swagger and dockerized API based on enterprise-level framework with optional queue worker.
symfony-api Fully covered with tests, documented by Swagger and dockerized API based on enterprise-level framework with optional queue worker. ⚙️ Depl
Attempting to create an intelligent mock of the Google API PHP Client for unit and functional testing
google-api-php-client-mock A small scale intelligent mock of the Google API PHP Client for unit and functional testing. Overview This is intended to m
Learn unit testing with PHPUnit.
PHPUnit Exercise Running PHPUnit ./vendor/bin/phpunit # with filter which tests to run ./vendor/bin/phpunit --filter pattern Running Pint ./vendor/
Persistent Fakes for Laravel Dusk
Laravel Dusk Fakes Support this package! ❤️ We proudly support the community by developing Laravel packages and giving them away for free. If this pac
¡BACKEND OVER APP! API REST IMPLEMENTANDO CONCEPTOS DE ARQUITECTURA HEXAGONAL, DDD, TDD Y SOLID. HECHO EN LARAVEL & PHP
¡BACKEND OVER APP! API REST IMPLEMENTANDO CONCEPTOS DE ARQUITECTURA HEXAGONAL, DDD, TDD Y SOLID. HECHO EN LARAVEL & PHP
PSpec is a testing framework for PHP, influenced by RSpec and jest. 🧪 This repo is a MIRROR of the GitLab source repository.
PSpec PSpec is a testing framework for PHP, influenced by RSpec and jest. This project is experimental and still needs a lot of work. Example // src/C
This package provides a trait to run your tests against a MinIO S3 server.
Laravel MinIO Testing Tools This package provides a trait to run your tests against a MinIO S3 server. 📝 Blog post: https://protone.media/en/blog/how
Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests
PHPUnit Polyfills Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests. Requirements Instal
PHP Test Generator - A CLI tool which generates unit tests
This project make usages of PHPStan and PHPParser to generate test cases for a given PHP File.
Prevent none-test output in your Pest tests.
Pest Plugin Silence Often, when writing tests, we echo and dump test code to debug and check everything is working correctly. It can be easy to forget
Satisfy the Type APIs for the WordPress schema when running PHPUnit tests
Satisfy the Type APIs for the WordPress schema when running PHPUnit tests
Report high memory usage PHPUnit tests: Managed by opg-org-infra & Terraform
phpunit-memory-usage Report high memory usage PHPUnit tests: Managed by opg-org-infra & Terraform Configuration Add into the phpunit.xml extensions se
Example repo for writing tests in Drupal (using DDEV)
Drupal Test Writing This is a test D9 site which can be used for practicing test writing and running.
This plugin adds basic HTTP requests functionality to Pest tests, using minicli/curly
Curly Pest Plugin This plugin adds basic HTTP requests functionality to Pest tests, using minicli/curly. Installation composer require minicli/pest-pl
Enforce consistent styling for your Pest PHP tests
A set of PHP CS rules for formatting Pest PHP tests.
Extension to use built-in PHP server on Behat tests
Extension to use built-in PHP server on Behat tests Instalation composer require libresign/behat-builtin-extension Configuration Add the extension to
Analyses and produces a report with testability issues of a php codebase
Analyses and produces a report with testability issues of a php codebase
A tool to run migrations prior to running tests
cakephp-test-migrator A tool to run migrations prior to running tests The Migrator For CakePHP 3.x composer require --dev vierge-noire/cakephp-test-mi
SimpleTest is a framework for unit testing, web site testing and mock objects for PHP
SimpleTest SimpleTest is a framework for unit testing, web site testing and mock objects for PHP. Installation Downloads All downloads are stored on G
Testbench Component is the de-facto package that has been designed to help you write tests for your Laravel package
Laravel Testing Helper for Packages Development Testbench Component is the de-facto package that has been designed to help you write tests for your La
TestDummy makes the process of preparing factories (dummy data) for your integration tests as easy as possible
TestDummy TestDummy makes the process of preparing factories (dummy data) for your integration tests as easy as possible. As easy as... Build a Post m
Generator-hedley - Scaffold a headless Drupal backend, Angular app client, and Behat tests
generator-hedley Scaffold a headless Drupal backend, Angular app client, and Behat tests Hedley is a yeoman generator that scaffolds a headless Drupal
Laravel-veneer - A suite of mocked services to use in your Laravel tests.
Laravel Veneer A suite of fixture data and methods to help make mocking 3rd party services easier. Overview Laravel Veneer aims to solve two problems
Chrome extension to generate Laravel integration tests while using your app.
Laravel TestTools Check out the introduction post about the chrome extension. Installation git clone [email protected]:mpociot/laravel-testtools.git # i
Laravel package for a Game of Tests
Game of Tests laravel This package aims to enable a quick implementation of a Game of Tests in Laravel. Is uses the package swisnl/game-of-tests and g
Collection of value objects that represent the PHP code units
sebastian/code-unit Collection of value objects that represent the PHP code units. Installation You can add this library as a local, per-project depen
Looks up which function or method a line of code belongs to
sebastian/code-unit-reverse-lookup Looks up which function or method a line of code belongs to. Installation You can add this library as a local, per-
Phalcon Mooc an example API + Front End with automated tests
NovaMooc - a Phalcon project A Mooc project developed with Phalcon, a PHP framework. Key Features • How To Use • Contributing • Credits • License Key
Removes whitelisted unnecessary files (like tests/docs etc.) from vendor directory
Composer vendor cleanup This is a simple script for the Composer to remove unnecessary files (documentation/examples/tests etc.) from included vendor
Fully customizable and tests supported Laravel admin dashboard for developers.
Laravel Admin dashboard Like Laravel Jetstream but built with Hotwire Turbo + additional perks. Tools used: tailwindcomponents/dashboard Hotwire Turbo
Allows the running of PHPUnit within ExpressionEngine
EE Unit Tests EE Unit Tests is an Add-on for ExpressionEngine that allows developers to execute unit tests from the Command Line. EE Unit Tests uses P
Perform Self-Diagnosis Tests On Your Laravel Application
Perform Self-Diagnosis Tests On Your Laravel Application This package allows you to run self-diagnosis tests on your Laravel application. It comes wit
A simple framework for running WordPress unit and integration tests.
Touchstone A modern wrapper around the official WordPress testsuite. It can be used to run both Unit and Integration tests. Installation Run the follo
Immanuel Vocational High School's assignments and tests of 'Pemrograman Lanjutan' lesson for 12th grade students.
school-laravel Immanuel Vocational High School's assignments and tests of 'Pemrograman Lanjutan' lesson for 12th grade students. Installation For Wind
Adds factory functions for WooCommerce to be used with wp-browser integration tests.
wp-browser-woocommerce This library simplifies testing of WooCommerce themes and plugins with wp-browser. Several Unit Test Factories are added that a
LaraBooks API - Simple API for iOS SwiftUI app tests.
About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie
WordPress core test suite function and class declaration stubs for static analysis by PHPStan
WordPress Core Test Suite Stubs This package provides stub declarations for the WordPress Core Test Suite functions, classes and interfaces. These stu
Showing what's new in PHP 8 with examples and tests
#PHP 8 what's new with examples Showing what's new in PHP 8 with examples and tests. I believe that reading about the changes is not enough, so grab t
Test a method against a list of XSS known.
php-xss-tests Test a method against a list of XSS known. How to run Just execute "run.sh", it will start a docker container to do all stuff. How I kno
To run time/IO related unit tests (e.g., sleep function calls, database queries, API calls, etc) faster using Swoole.
To run time/IO related unit tests (e.g., sleep function calls, database queries, API calls, etc) faster using Swoole.
Unit converter and calculator for php
Unit converter and calculator This library uses the awesome lisachenko/z-engine to allow mathematical operations on objects, allowing to do stuff like
Wraps your Pest suite in a Laravel application instance, allowing global use of the framework in tests.
Pest Larastrap Plugin This is currently a highly experimental project and is subject to large pre-release changes. Pest PHP is an awesome PHP testing
Magic Test allows you to write browser tests by simply clicking around on the application being tested, all without the slowness of constantly restarting the testing environment.
Magic Test for Laravel Magic Test allows you to write browser tests by simply clicking around on the application being tested, all without the slownes
Package for unit testing Laravel form request classes
Package for unit testing Laravel form request classes. Why Colin DeCarlo gave a talk on Laracon online 21 about unit testing Laravel form requests cla
Package to easily test crudable controllers for Laravel based API
Laravel Crudable Test This package is very usefull to easily test crudable controllers. Installation You can install package via composer. Add reposit
Behat Messenger Context
Behat Messenger Context Version Build Status Code Coverage master develop Installation Step 1: Install Context Open a command console, enter your proj
Real-world Project to learning about Unit Testing/TDD with Laravel for everybody
KivaNote - a Laravel TDD Sample Project Let me introduce you to KivaNote, a simple real-world application using Laravel to show you how the TDD & Unit
Full stack shop app with Symfony
A progressive PHP framework for building efficient and scalable server-side applications. Description A fullstack shop app with Symfony framework and
Unit testing tips by examples in PHP
Unit testing tips by examples in PHP Introduction In these times, the benefits of writing unit tests are huge. I think that most of the recently start
Fully unit tested Facebook SDK v5 integration for Laravel & Lumen
Laravel Facebook SDK A fully unit-tested package for easily integrating the Facebook SDK v5 into Laravel and Lumen 5.0, 5.1, 5.2, & 5.3. This is packa
A PHP library for mocking date and time in tests
ClockMock Slope s.r.l. ClockMock provides a way for mocking the current timestamp used by PHP for \DateTime(Immutable) objects and date/time related f
Some shorthand functions for skipping and focusing tests.
Pest Plugin: Shorthands This repository contains the Pest Plugin Shorthands. If you want to start testing your application with Pest, visit the main P
InfyOm Laravel Generator - API, Scaffold, Tests, CRUD Laravel Generator
InfyOm Laravel Generator Generate Admin Panels CRUDs and APIs in Minutes with tons of other features and customizations with 3 different themes. Read
PHP unit testing framework with built in mocks and stubs. Runs in the browser, or via the command line.
Enhance PHP A unit testing framework with mocks and stubs. Built for PHP, in PHP! Quick Start: Just add EnhanceTestFramework.php and you are ready to
vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with any unit test framework, like PHPUnit or SimpleTest.
vfsStream vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with
The PHP Unit Testing framework.
PHPUnit PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks. Installat
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).
Mockery Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its c
Mock HTTP requests on the server side in your PHP unit tests
HTTP Mock for PHP Mock HTTP requests on the server side in your PHP unit tests. HTTP Mock for PHP mocks the server side of an HTTP request to allow in
Full-stack testing PHP framework
Codeception Modern PHP Testing for everyone Codeception is a modern full-stack testing framework for PHP. Inspired by BDD, it provides an absolutely n
The modern, simple and intuitive PHP unit testing framework.
atoum PHP version atoum version 5.3 - 5.6 1.x - 3.x 7.2 - 8.x 4.x (current) A simple, modern and intuitive unit testing framework for PHP! Just lik
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
This is a port of the VCR Ruby library to PHP. Record your test suite's HTTP interactions and replay them during future test runs for fast, determinis
Value Object that represents a monetary value (using a currency's smallest unit).
This project has been abandoned. It was only ever intended to be used as an example for PHPUnit features etc. and not for usage in production. I am so
PHP Censor is an open source self-hosted continuous integration server for PHP projects.
PHP Censor is an open source, self-hosted, continuous integration server for PHP projects (PHPCI fork). Official twitter @php_censor. PHP Censor versi
Behat extension for those who want to write acceptances tests for apis
Behapi Behat extension to help write describe features related to HTTP APIs. PHP 7.3, Behat 3.7 and a discoverable php-http client are required to mak