From PHPUnit-1.3.2 To PHPUnit-2.3.6

Discussion of testing theory and practice, including methodologies (such as TDD, BDD, DDD, Agile, XP) and software - anything to do with testing goes here. (Formerly "The Testing Side of Development")

Moderator: General Moderators

Post Reply
kpraman
Forum Contributor
Posts: 172
Joined: Fri Oct 13, 2006 10:54 am

From PHPUnit-1.3.2 To PHPUnit-2.3.6

Post 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?
Post Reply