Page 2 of 2

Posted: Mon May 07, 2007 1:24 pm
by matthijs
Ok, I've put the includes back in test-runner.php.

And I've found something.

If I do not add any test to suite.js, all is fine.
If I include some tests in suite.js, they run without errors. However, adding one specific test, leads to the errors. I haven't discovered yet why this single test leads to these errors. As normally it runs fine.

Unfortunately I cannot give you a link, as I'm running locally.

I'll let you know if I discover something more.

Posted: Mon May 07, 2007 1:30 pm
by Nathaniel
Alright then. Just make sure you got all of the includes for SimpleTest libraries, as well as the "run test" commands, out of that one test that is bugging up.

Posted: Mon May 07, 2007 2:54 pm
by matthijs
Ok, I found out how to change the problematic test.

Change my original includes from

Code: Select all

include_once('../lib/DBPDO.php');
to

Code: Select all

include_once $_SERVER['DOCUMENT_ROOT'] . ('/lib/DBPDO.php');
Simple as that ;)

Posted: Mon May 07, 2007 3:05 pm
by Nathaniel
Well then, good!

Posted: Mon May 07, 2007 3:49 pm
by Nathaniel
re Chris/sike:

Would you elaborate please? Are you asking for "open/collapse" buttons next to each group? What do you mean by basic code coverage?

Thank you,
- Nathaniel

Posted: Mon May 07, 2007 6:14 pm
by sike
Nathaniel wrote:re Chris/sike:

Would you elaborate please? Are you asking for "open/collapse" buttons next to each group? What do you mean by basic code coverage?

Thank you,
- Nathaniel
hey nathaniel,

i am talking about something like this : http://code.refactored.de/test/external ... /index.php

chris