Quantcast
Channel: Shaun Smith » unit-testing
Browsing all 2 articles
Browse latest View live

Unit Testing: Why I prefer assertThat()

Consider: [Test] public function null_criteria_should_not_match():void { assertFalse("passing null should return false", instance.match(null)); } When reading the test above I have to do a lot of...

View Article



Image may be NSFW.
Clik here to view.

Unit Testing: My problem with assertThat()

I write “ass” a lot while I’m coding.

View Article
Browsing all 2 articles
Browse latest View live




Latest Images