Libraries tagged by unit tests
php-kitchen/code-specs
976 Downloads
BDD extension for PHPUnit that allows to write tests as a specifications in a human-readable format.
lapistano/wsunit
19 Downloads
A PHPUnit extension providing the possibility to lift a unit test to a functional tes, just by configuration
lamp-of-god/kahlan-isolator-plugin
2554 Downloads
Plugin for Kahlan unit-testing framework which allows to extract functions from PHP files.
jsiefer/mage-mock
95 Downloads
Mock the Magento Framework
joefallon/kisstest
430 Downloads
KissTest is command-line free, fast, simple and beautiful unit test framework.
ilmiont/trainline
5877 Downloads
Trainline is a tiny PHP testing framework to enable the rapid creation of minimal unit tests.
fp/fumocker
1206 Downloads
A php function mocker
edgcarmu/codeigniter-phpunit
315 Downloads
Official adaptation of yidas/codeigniter-phpunit for CodeIgniter 3.1.11 and PHP 7.1+
crimsonkissaki/mockmaker
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.
code-distortion/insight
409 Downloads
Test protected and private object methods and properties as if they were public
bitwasp/bitcoind-server
7 Downloads
A helper library for spawning bitcoind regtest nodes for unit tests
bebat/verify
353 Downloads
BDD assertion library for PHPUnit
bcncommerce/stream-wrapper
13126 Downloads
PHP stream wrapper for testing classes which interact with files
ua1-labs/firetest
194 Downloads
A Lightweight PHP Testing Framework
f3ath/lazypdo
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.