Suite Tester 1.0 Release Candidate

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

matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post 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.
User avatar
Nathaniel
Forum Contributor
Posts: 396
Joined: Wed Aug 31, 2005 5:58 pm
Location: Arkansas, USA

Post 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.
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post 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 ;)
User avatar
Nathaniel
Forum Contributor
Posts: 396
Joined: Wed Aug 31, 2005 5:58 pm
Location: Arkansas, USA

Post by Nathaniel »

Well then, good!
User avatar
Nathaniel
Forum Contributor
Posts: 396
Joined: Wed Aug 31, 2005 5:58 pm
Location: Arkansas, USA

Post 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
sike
Forum Commoner
Posts: 84
Joined: Wed Aug 02, 2006 8:33 am

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