|
From: Mark D. <mar...@hp...> - 2011-09-08 18:15:57
|
Simpletesters,
I have tried alpha3 a number of times, each time my existing tests won't
work?
For example here is a test that runs fine in simpletest 1.0.1:
But in simpletest1.1.0 I get:
jenkins@fonightly: ./runTestCleanup.php
Starting Cleanup Tests on: 2011-09-08 at 12.03.58-pm
Using Svn Version:4723M
PHP Fatal error: Call to undefined method TestSuite::addTestFile() in
/home/jenkins/.jenkins/jobs/Test-System-Cleanup/workspace/fossology/tests/runTestCleanup.php
on line 43
Fatal error: Call to undefined method TestSuite::addTestFile() in
/home/jenkins/.jenkins/jobs/Test-System-Cleanup/workspace/fossology/tests/runTestCleanup.php
on line 43
the code looks like:
$test = new TestSuite('Fossology Test Clean Up');
$test->addTestFile('testCleanUp.php');
What happened to addTestFile? Is there some release or transition notes
that I am not seeing or reading? Do I need to include some different files?
Right now the code includes:
require_once '/usr/local/simpletest/web_tester.php';
require_once '/usr/local/simpletest/reporter.php';
Basically I cannot get any of my existing 1.0.1 tests to work with alpha3.
Another issue is that since I can't get alpha 3 to work, the 1.0.1
version causes a ton of exceptions on a system running php 5.3, which in
turn causes the tests to fail with exceptions, when all the other test
cases pass. This is on Debian squeeze and ubuntu systems (lucid,
maverick merkat).
I am really sorta stuck here, can someone help me get alpha3 working?
Thanks.
--
---
Mark Donohoe
OSPO, HP
FOSSology.org
|