• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unit Testing

#4
[eluser]Michael Wales[/eluser]
Once again, it's all on a case-by-case basis. Usually you'll have all of your tests in one directory, so it would be trivial for a library to scan through, grab all test classes and execute them.

The most difficult part in working with tests is in maintaining your "closures" - the data the test cases will use with your application.

PHPUnit is by far the de-factor Unit Testing library for PHP. Googling will provide hundreds of tutorials and information on it all.


Messages In This Thread
Unit Testing - by El Forum - 11-29-2010, 02:49 PM
Unit Testing - by El Forum - 11-29-2010, 03:05 PM
Unit Testing - by El Forum - 11-29-2010, 03:31 PM
Unit Testing - by El Forum - 11-29-2010, 03:39 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.