[Esapi-php] FYI: Issue 40 - ExecutorTest testcases fail due to symlinked executable to test (not in canonical form)

Marcus Krause marcus#exp2010 at t3sec.info
Mon Sep 20 19:37:27 EDT 2010


Hi!

While trying to get the "green bar feeling" with the unit tests, I
stumbled over failed tests in ExecutorTest.

These are caused by a symlinked /bin/sh binary.

I've created an issue (40) with a proposed solution incl. patch in the
issue tracker.

Any comments are highly appreciated!


One issue that bugs me, too:
I'm a command line fan. Having said that, current unit tests are written
in a way that they cannot be run in command line. To test one specific
function you have to run all project tests. And output is build (html)
in a way that information is only easily accessible on a web page.

Is that a consciously made design decision?

An example why this is a bit annoying is e.g. the test of one specific
DefaultValidator.


Marcus.


More information about the Esapi-php mailing list