In this small simple project I have covered Mock, Stub, Data Provider, Dummy and Exception testing. Also tried to cover code-coverage and database connection. The phpunit.xml file is free to use for anyone who needs a head stard, just edit the test suite and Logging path.
code-architect / phpunit-advance-testing Goto Github PK
View Code? Open in Web Editor NEWPHPUnit testing with use of Mock, Stub, Dummy, Code-coverage, Data-Providers