These are my notes from 7 months ago, hope they help...
/mysite/_config.php
Director::set_environment_type("test");
ensure you have the correct version of php first (with WAMP) that is 5.2.6 if you have 5.3.0 (default installation) then...
click sys tray icon for wamp
php
php version
get more
follow prompts to install 5.2.6
open up the command line:
cd \wamp\bin\php\<phpversion>\
go-pear.bat
pear channel-discover pear.phpunit.de
pear install phpunit/PHPunit
if you get an error that states the version of the pear installer needs to be upgraded then enter... (using the correct version of pear it asks for)
pear upgrade --force http://pear.php.net/get/PEAR-1.8.1.tar
change PHP.ini to find the includes required by PHPUnit:
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
include_path = ".;c:\php\includes;C:\wamp\bin\php\php5.2.6\PEAR\"
This is how to run a unit test from the command line
php phpunit StackTest C:\wamp\www\unittesting\StackTest.php
Then the test is run with the webinterface by using :
http://localhost/mysite/dev/tests/xxxTest