Skip to content

SenseException/mock-mock-mock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mock Mock Mock

Mock Mock Mock is part of a talk about Mocking-Frameworks and provides example code for in the talk mentioned mocks. The slides to that talk are available here.

To keep the Frameworks in the foreground of the examples, the micro testing Framework Testify is used.

The following Mocking-Frameworks are handled:

  • PHPUnit_MockObject
  • Prophecy
  • Mockery
  • vfsStream
  • Phake
  • php-mock
  • aspect-mock

Installation

git clone git@github.com:SenseException/mock-mock-mock.git
cd mock-mock-mock
composer install

Start a webserver to run the tests in browser:

php -S localhost:8080 -t src/

About

A collection of different Mock framework examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published