Quantcast
Channel: LAMPlights » unittest
Browsing latest articles
Browse All 3 View Live

Image may be NSFW.
Clik here to view.

Unit Testing and the Law of Demeter

I was writing some code today and not using Test-Driven development.  The reason was that I did not have a good understanding of what I was writing, so I decided to write some of the guts before...

View Article



Mocking Zend Framework’s Row and Rowset objects

If you separate your business logic from your data access logic, the last thing you want to do is make your business logic unit tests reliant on the database.  This is normally not a big deal: retrieve...

View Article

Image may be NSFW.
Clik here to view.

How PHPUnit saved HauteLook a lot of duckles

Yesterday I tweed that a phpunit test prevented a very expensive error at HauteLook. I had shared the details internally, but after receiving some positive twitter feedback I decided to make the story...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images