[Solar-talk] New PHPUnit3 Tests

Rodrigo Moraes rodrigo.moraes at gmail.com
Fri Dec 8 08:10:57 PST 2006


On 12/7/06, Travis Swicegood wrote:
> Of course!  That's what the "phpunit" file does in the tests directory
> right now.  That helps make sure the right files are in the right path.
> I guess I need to add a .bat file for Windows testers too.

Hi Travis,
It seems that my .bat file is correct now, and also the include paths.
But the errors didn't disappeared and so I've included a logger in
Solar::fileExists() to see what was happening there. The result is
interesting. The include path is searched correctly until a point, and
then the only path included in the search is:

    K:\Libraries\SVN\Solar\trunk\tests\support\Solar\Path\Stack

I suppose there is a problem in the StackTest on Windows, and removed
it from the tests dir. Before StackTest, config.inc.php is included
several times with no problems. After the stack tests, the
include_path seems to be changed permanently and it is not found
anymore in the following tests. Things are a little better now:

FAILURES!
Tests: 901, Failures: 8, Errors: 118, Skipped: 62.

Now, most of the errors are normal errors (eg, I don't have PostgreSql
installed here, and it complains about it).

I hope this helps.
rodrigo

---------------------------------------------------------------------
Solar has now a Community Wiki: solarphp.org
---------------------------------------------------------------------
Join the #solarphp IRC channel on freenode.org
---------------------------------------------------------------------


More information about the solar-talk mailing list