Libraries tagged by glass units

altec-icex/simple-models

0 Favers
14 Downloads

Window model constructor

Go to Download


jimigrunge/invoke-private-methods

4 Favers
24916 Downloads

This is a class to aid in unit testing of private methods.

Go to Download


betterphp/php-native-mock

0 Favers
9616 Downloads

PHP Native Mock is a helper class that allows for easy mocking of native PHP functions and class methods in unit tests using the UOPZ extension.

Go to Download


tomkyle/find-run-test

0 Favers
861 Downloads

Find and run the PHPUnit test for a single changed PHP class file, most useful when watching the filesystem

Go to Download


betterphp/php-reflection-utils

0 Favers
10879 Downloads

PHP Reflection Utils is a set of helper methods for accessing the private properties and methods of a class

Go to Download


jsiefer/class-mocker

1 Favers
133 Downloads

Can mock entire frameworks or namespaces

Go to Download


bermudaphp/byte

1 Favers
34 Downloads

A robust PHP class for working with data size units (bytes, kilobytes, megabytes, etc.)

Go to Download


stratedge/wye

1 Favers
5112 Downloads

A library that makes unit testing database-driven code in PHP a breeze. Mock the native PDO class, define query results, and inspect executed statements.

Go to Download


jimthunderbird/phlexmock

4 Favers
14 Downloads

A tool to allow developers to mock any php class by redefining class methods

Go to Download


f3ath/lazypdo

5 Favers
44964 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.

Go to Download


crimsonkissaki/mockmaker

4 Favers
44 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.

Go to Download


leofranca47/abstract-repository-eloquent-laravel

2 Favers
532 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

Go to Download


degaray/mock-soapclient

2 Favers
385 Downloads

This class is used to overwrite the functionality of the soapclient. It is very usefull when mocking objects expected from soap calls to web sevices in unit testing.

Go to Download


elfstack/unit-test-lite

0 Favers
21 Downloads

A light unit test class providing basic test function and beautiful report.

Go to Download


unit-testing/class-spy

0 Favers
3892 Downloads

a simple trait that aids in unit testing protected class methods

Go to Download


Next >>