9: Harry Percival : Testing Web Apps with Python, Selenium, Django




Test & Code - Software Testing, Development, Python show

Summary: <ul> <li>Intro to Harry Percival, his background and story of how he got into TDD and ended up writing a <a href="http://amzn.to/1SqW1t3" rel="nofollow">book</a> </li> <li>Comparing using unittest and pytest with applicability to testing django projects. </li> <li>Functional end to end testing with selenium.</li> <li><p>The django test client for middle level tests.</p></li> <li><p>test isolation</p></li> <li><p>django and isolated unit tests</p></li> <li><p>unit tests vs integration tests</p></li> <li><p>Testing done by the development team without an external QA</p></li> <li><p>Double loop TDD: Functional test first, then unit tests</p></li> <li><p>Spikes: investigations without tests</p></li> <li><p>Harry's experience with having a freely available web version of a book that is also intended to be sold.</p></li> </ul> <p><strong>Update: Comment from Harry Percival on 19-Jan-2014</strong><br> I might have been a bit down on unit tests vs functional tests in that "unit tests never fail comment".<br><br> Not true at all, particularly as we've just been thru upgrading django on our core system, and the unit tests <em>really</em> saved our bacon on that one...</p> <h2>Links</h2> <ul> <li> <a href="http://amzn.to/1SqW1t3" rel="nofollow">Test-Driven Development with Python</a> </li> <li> <a href="http://pythontesting.net/obey-the-testing-goat" rel="nofollow">Obey the Testing Goat</a> - Harry's site dedicated to the book and related posts.</li> <li> <a href="http://pythontesting.net/book" rel="nofollow">Python Testing with unittest, nose, pytest</a> </li> <li>Gary Bernhardt's talk, <a href="http://pythontesting.net/boundaries-talk" rel="nofollow">Boundaries talk</a> including a discussion of "Functional Core, Imperative Shell".</li> <li>Video of Boundaries talk <a href="http://pythontesting.net/boundaries-talk-youtube" rel="nofollow">on youtube</a> </li> </ul><p><a rel="payment" href="https://www.patreon.com/testpodcast">Support Test &amp; Code - Software Testing, Development, Python</a></p>