26th Jun 2008
PHPUnit MySql 4 Support and iniSet
So I’ve been getting very heavily into QA here in my new job at Beatport. As a result I’ve been doing alot of work with PHPUnit and I came across two problems one same and one large. The first was that the very useful iniSet function that will let you change an PHP setting like error_reporting and then restore it for you after the test has run. The problem I has was it required the value to be a string, which while not a show stopper was a pain. So I was very excited in a very nerdy way when my suggestion was implemented in the code and made it into a release.
The next problem was a biggie as far as I can tell the DBUnit port into PHPUnit know as the Database extension doesn’t support MySql 4. I outlined the problem in a ticket and also posted a patch that will get everything working for MySql 4 and 5.
Mike Lively the creator and maintainer of the DBUnit port it yet to take any visible action as of yet. And as I used to work with Mike I may have to drop him a line to get his opinion.
I’d love to hear from anyone else who is also having this problem with MySql 4.
Add New Comment
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Add New Comment