Skip to content

Tekrajs/php-unittesting-with-phpunit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Php Unit Testing Example

This repo contains the very basic implementation of Php unit testing with phpunit.

Unit testing is the best approach of Test Driven Development(TDD). TDD at first might feel like a complete wast, but it is the best approach of development.

******************************** Installation **************************************

Clone the repo

Simply run composer Update

Now you can Add all the classes you want to test in src folder and add necessary tests you want to perform in tests folder .

For running tests, simply run phpunit filename on terminal, by being on the root folder. You should see the tests results.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages