Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best option for Unit Test using PHP4

I'm working on a project that is stuck in php4 and I'm intending to run some UnitTests for some new areas that I'm working on it.

What is the best framework to do UnitTest on PHP4?

Thanks in advance

like image 858
rafa.ferreira Avatar asked Apr 29 '26 19:04

rafa.ferreira


1 Answers

You can try

1)Simpletest

It is a PHP unit test and web test framework.It has support for SSL, forms, frames, proxies and basic authentication. The idea is that common but fiddly PHP tasks, such as logging into a site, can be tested easily.

2)PHPUnit Automated Unit Testing Framework

It provides a simple framework for creating a test suite to automate testing of functions and classes. PHPUnit stands alone as a good tool for testing classes or a set of functions and will ease your development cycle and help you to avoid endless debug sessions.

like image 65
Harikrishnan Avatar answered May 01 '26 08:05

Harikrishnan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!