My Blog
contains PHP, Web and business/entrepreneurial related content. Please join in the conversation!
Tag Archives: Test Driven Development
PHPUnit Mock Objects: Only Mock What You Need
I was looking at mock objects in PHPUnit the other day and started to get confused. When I asked for a Mock object, the entire object was a mock. In all actuality, it wasn’t so much a Mock of the … Continue reading
Testing protected and private attributes and methods using PHPUnit
First, I just want to say up front that this is not a discussion of “is 100% test coverage necessary” or a discussion about testing private methods. This is simply how you may do it if you wanted to. Testing … Continue reading
Eclipse Testing with TPTP – help me?
I recently came across this tutorial here about Testing with TPTP- and I’m confused. Whats the benefit of this type of testing (um… creating JAVA code for a JUnit test… right?) compared to running some PHPUnit, Selenium and AB (from … Continue reading
APD post processing wrapper
A while ago, I discovered the ‘joys’ of APD… and then moreso, the ‘joys’ of not being able to make heads or tails out of the output script. After digging deeper, I saw that the original directory already had some … Continue reading
Friendly reminders about testing your PHP code
I was reading on a forum the other day about some benchmarks for PHP. The guy had posted some results in ms measurements, and was getting upset about his erratic results. There were some things that he was forgetting, however. … Continue reading
Test Driven Development Book Review
(“the triangle”) just recently purchased a book for the library at my request, Test-Driven Development by example by Kent Beck. The current Amazon price for this book is $35. The book took me about 2 weeks of sporadic reading to … Continue reading
