Libraries tagged by glass units
altec-icex/simple-models
17 Downloads
Window model constructor
dg/bypass-finals
36525408 Downloads
🔓 BypassFinals: removes final and readonly from your code on the fly, so you can mock final classes and methods in PHPUnit, Mockery or Nette Tester.
jimigrunge/invoke-private-methods
29114 Downloads
This is a class to aid in unit testing of private methods.
unit-testing/class-spy
4005 Downloads
a simple trait that aids in unit testing protected class methods
adachsoft/php-class-scoped-tools
59 Downloads
Class-scoped PHP source and unit test tools for AI agents.
jsiefer/class-mocker
177 Downloads
Can mock entire frameworks or namespaces
tomkyle/find-run-test
1967 Downloads
Find and run the PHPUnit test for a single changed PHP class file, most useful when watching the filesystem
sitphp/doubles
157 Downloads
A simple yet powerful library to make class doubles for testing
betterphp/php-reflection-utils
12236 Downloads
PHP Reflection Utils is a set of helper methods for accessing the private properties and methods of a class
f3ath/lazypdo
44983 Downloads
LazyPDO is a wrapper over PHP's standard PDO class. It postpones the instantiation of the original PDO class until one is really needed. Also it can be (un)serialized.
crimsonkissaki/mockmaker
49 Downloads
Whether you call them doubles, stubs, mocks, partials, fakes, or something else there are times when a mocking library such as PHPUnit's mockBuilder, Mockery, Prophecy, etc. just doesn't do exactly what you need or want. Sometimes you just need a concrete class implementation to run through the unit test wringer or a full end to end functional unit test suite. MockMaker aims to simplify the process of generating concrete fake ORM entity objects. Flexible and extendable, the generated seed code can be altered to suit your particular project with relative ease. That means after the initial setup you can re-run MockMaker for any new entities that get added in or update existing entities that change with little to no fuss. What's more, once MockMaker has made your files it's done; you don't have to include it in your code base and can use the generated files like any other project class.
leofranca47/abstract-repository-eloquent-laravel
996 Downloads
Essa é uma classe php onde tem métodos que podem ser chamados igual no Eloquent. Serve para criar repositórios e facilitar os testes unitários sem perder o poder do Eloquent - This is a php class where it has methods that can be called equal in Eloquent. It serves to create responses and facilitate unit tests without losing the power of the Eloquent
elfstack/unit-test-lite
21 Downloads
A light unit test class providing basic test function and beautiful report.
jervdesign/php-unit-mock
774 Downloads
Base Class for creating reusable PHPUnit Mock Objects
gueststream/vrproperty
7 Downloads
Vacation Rental Property (unit) Class