Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Lessons Learned in Unit Testing

Lessons Learned in Unit Testing

Why I am in love with unit testing, and why you should be too. Delivered at WordCamp San Francisco in July 2013.

Alison Barrett

July 27, 2013
Tweet

More Decks by Alison Barrett

Other Decks in Programming

Transcript

  1. test_matches_browser_test MarkupA8CLinkTest 6) :: Failed asserting that 'test:/alisothegeek/?rev=3389asdf' does not

    match PCRE pattern "%(?<![\w/-])(test):\/([.\w \/-]+[\w\/])(\?rev=\d+)?(?![\w-])%". /path_to_file/MarkupA8CLinkTest.php:51 /path_to_file/MarkupA8CLinkTest.php:97 test class MarkupA8CLinkTest test function test_matches_browser_test failure failure location(s)