Page 1 of 1

From PHPUnit-1.3.2 To PHPUnit-2.3.6

Posted: Mon Nov 06, 2006 5:00 am
by kpraman
I am currently using PHPUnit-1.3.2.

Location of the files and folders

classes - folderName
-class files, and testcase files
-library -folderName


in the testcase files, i am using the following code...

Code: Select all

<?php
set_include_path("library/");

require_once 'members.php';
require_once 'PHPUnit/Framework/TestCase.php'; 
require_once 'PHPUnit.php';

class MembersTest extends PHPUnit_TestCase {
.......
......

?>

This is working.


if i want to use PHPUnit-2.3.6 What are the changes i have to make?