Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 662 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 662 Bytes

PHPUNIT-unit-test

This is a simple composer-project with unit testing using PHPUNIT. There is two branches: test3 and test4 (i made this project in my local machine and i forgot use git).

Context

The source code is a simple simulation of sending sms.

Content of branch test3 (default)

This branch contains unit testing using dataProviders, the mock and instance of a class. Find it in test/

Content in branch test4

In this branch we are testing the functions of the clases in src/ using dataProviders, mocks and instancing clases.

It's a simple testing to know the basic concepts for unit testing with PHPUNIT.

Don't forget give your feedback.