From: Matthew G. <mat...@gm...> - 2008-04-19 21:00:55
|
Unit testing sounds like a great thing to add. My concern is the work to add and maintain would be significant given phpESP legacy code base. Perhaps more work than starting over using an off the shelf framework that supports proper unit testing. Thoughts? On Sat, 2008-04-19 at 12:52 -0400, Bishop Bettini wrote: ...snip... > Now, a bigger question: any votes on adding a unit test framework to > phpESP so that this bug can be installed as a test case? (We use > phpunit extensively on our other products, and I recommend it.) One > problem is that the phpESP code is a bit resilient to unit testing: > the UI, business logic, and DB code are all wrapped into one. I > suppose it could be done by munging POST, including the file, and > checking the results both in the DB and a regex/DOM parse of the > output buffer. Thoughts? > > bishop > -- Matthew Gregg <mat...@gm...> |