Skip to content

Very simple unit test to demo how to write a PHP CLI app and unit test framework

Notifications You must be signed in to change notification settings

thanhngch/myunittest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Unit Test Framework with PHP

###Install

  • clone project
  • cd to project directory
  • chmod +x ./phpunit/phpunit
  • ./phpunit/phpunit

###Use phar

  • php build_phar.php
  • chmod +x ./myphpunit.phar
  • ./myphpunit.phar

###Change result

  • In test/CalulatorTest.php, change your test to show right result.

About

Very simple unit test to demo how to write a PHP CLI app and unit test framework

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages