Skip to content

komex/delusion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About project

Delusion is a testing instrument for programmers and quality engineers that helps them to test PHP projects by giving ability to mock and stub any objects in realtime. It's works only with projects which uses Composer.

Build Status

Using

Just add one line of code before all tests to get ability to do anything with all not build-in objects and static classes:

\Delusion\Delusion::injection();

After this injection all your classes will implements \Delusion\ConfiguratorInterface.

Installing

The installation of Delusion framework is very simple. All what you need to do is add komex/delusion to require or require-dev section in composer.json like this:

{
    "require-dev": {
        "komex/delusion": "dev-develop"
    }
}

Authors

This project was founded by Andrey Kolchenko in August of 2013.

Support or Contact

Having trouble with Delusion? Contact andrey@kolchenko.me and we’ll help you in the short time.

License

Creative Commons License
Unteist by Andrey Kolchenko is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on a work at https://github.com/komex/delusion.

About

Testing instrument for PHP projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages