Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    H

    Harry Percival

    obeythetestinggoat.com · Personal blog · on HN since 2013

    Harry Percival writes about test-driven development in Python and Django, and is the author of the 'Testing Goat' book.

    Visit blogHN submissions
    ProgrammingWeb Development
    What HN says

    Commenters repeatedly recommend his free TDD book as a great, funny, practical introduction to testing, even for people outside Python and Django.

    Stats for nerds
    28HN people shared it
    9linked in comments
    269story points
    Apr 2026last shared
    2015people per year2026

    Top posts on HN

    1. 1
      Test-Driven Web Development with Python – The Book
      9 people · 262 points · first shared 2017 · 42 comments on HN
    2. 2
      Cosmic Python
      1 person · 2 points · first shared 2020 · Discussion on HN
    3. 3
      Obey the Testing Goat: Plans for the Second Edition
      1 person · 2 points · first shared 2016 · Discussion on HN
    4. 4
      Obey the Testing Goat
      12 people · 1 points · first shared 2015 · Discussion on HN
    5. 5
      TDD for the Web, with Python, Selenium, Django, JavaScript and Pals – 2nd Ed Out
      1 person · 1 points · first shared 2017 · Discussion on HN
    6. 6
      Fast tests are useless
      1 person · 1 points · first shared 2013 · 1 comments on HN
    7. 7
      Chapter purist unit tests
      2 people · first shared 2018
    8. 8
      Chapter philosophy and refactoring
      2 people · first shared 2018
    9. 9
      Chapter hot lava
      1 person · first shared 2018
    10. 10
      Appendix bdd
      1 person · first shared 2018

    What HN people wrote when they linked it

    • gt565kApr 2015

      Let me weigh in here. I've worked with Rails, ported a php application to Django, currently working with Spring MVC and Angular JS.

      PHP is a scripting language, Django is a framework. I think you are comparing 2 different things.

      If you want to get into web development, there are 2 major concepts/skills you need to get down. First, understanding of MVC, or "MTV"[0], as in Django's case, or whatever other variation of said design pattern (MVP, MVVC, etc..). Second, writing and consuming REST APIs. The frameworks will handle or at least guide you through the rest. CSS, HTML, and JS will help you with the front end, but I think as someone who works in ops, you'd be more comfortable establishing a solid back-end first. You can always bootstrap the front-end.

      Personally, I try to stay away from anything PHP based. I don't think anyone in their right mind would start a new project with a PHP stack. Frameworks like Django, Rails, and other JS frameworks are much more mature, in terms of utility, than anything you'll find in PHP.

      Since you already have experience with it, it would be fairly easy to work with Django after running through a few tutorials.

      IMO if you go the PHP route, you'll get stuck with old technologies, as in your job prospects would involve maintaining legacy php apps. I haven't heard of anyone starting a new project with PHP.

      A developer should be concerned with building applications to meet requirements, writing and consuming REST APIs, and implementing…

    • sss111Jul 2021

      1. Introduction to Software Testing: https://cs.gmu.edu/~offutt/softwaretest/

      2. Obey the testing goat online book: http://www.obeythetestinggoat.com/

      3. Neal Ford on test driven design (Requires a oreilly subscription): https://www.oreilly.com/library/view/neal-ford-on/9781449314439/ Here's the free PDF of the slides though, https://github.com/nealford/presentations/blob/master/Test%20Driven%20Design%20(Neal%20Ford).pdf

      Threads on if(why) testing is overrated:
      https://news.ycombinator.com/item?id=23778878
      https://news.ycombinator.com/item?id=20309815

    • XunjinJun 2021

      Harry Percival, famous by "Obey the Goat" also his new book "Cosmic Python" this guy is a genius at teaching :) both books available at the respective sites

      https://www.obeythetestinggoat.com/pages/book.html#toc

      http://www.cosmicpython.com/

      If you feel that TDD is too much there is a book about pytest, tho never really focused on it.

      Hope it helps,

      PS: Ty Harry :)

    • larcApr 2017

      Obey the Testing Goat (http://www.obeythetestinggoat.com/) will take you through creating a small web app (python/django) using test driven development. The language choice may not match up with what you're using, but the concepts are useful across many domains. This book made a huge impact in how I think about writing tests, and in turn how I think about writing code.

    • a_cMay 2019

      It depends on your background. Having written web app before let's you quick grasp the ideas laid in the book.

      To me, the most important chapters are

      - https://www.obeythetestinggoat.com/book/chapter_mocking.html
      - https://www.obeythetestinggoat.com/book/chapter_purist_unit_tests.html

      Having said that, the concepts are universal.

    • sn9May 2019

      My recommended route: Harvard's CS50x on edx -> Think Python 2ed -> https://www.obeythetestinggoat.com/pages/book.html#toc

      You don't need to take CS50, but it's the probably the best introduction to programming available online and will give you a strong foundation that will make the later books easier to work through.

    Related

    The Code Whispererblog.thecodewhisperer.com31 people

    The Eternal Struggle Between Business and Programmers

    The Code Whisperer
    Personal · last shared 2024
    Lambda the Ultimatelambda-the-ultimate.org615 people

    Simon Peyton Jones Elected into the Royal Society Fellowship

    Lambda the Ultimate
    Publication · last shared 2026
    TestDriven.iotestdriven.io39 people

    Web Authentication Methods Compared

    TestDriven.io
    Company · last shared 2023
    Daniel Roy Greenfeldpydanny.com27 people

    Our Django Book is Launched

    Daniel Roy Greenfeld
    Personal · last shared 2017
    Mark Pilgrimdiveintomark.org100 people

    Simplicity is hard. Let’s go shopping

    Mark Pilgrim
    Personal · last shared 2014
    Harry Brundageharry.me15 people

    Neat Algorithms - Flocking

    Harry Brundage
    Personal · last shared 2022
    Daniel Lindsleytoastdriven.com17 people

    Gevent, Long-Polling & You

    Daniel Lindsley
    Personal · last shared 2017
    James Bennettb-list.org95 people

    Let’s talk about usernames

    James Bennett
    Personal · last shared 2026