Test & Code

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


Listen Later

  • Intro to Harry Percival, his background and story of how he got into TDD and ended up writing a book
  • Comparing using unittest and pytest with applicability to testing django projects. 
  • Functional end to end testing with selenium.
  • The django test client for middle level tests.
  • test isolation
  • django and isolated unit tests
  • unit tests vs integration tests
  • Testing done by the development team without an external QA
  • Double loop TDD: Functional test first, then unit tests
  • Spikes: investigations without tests
  • Harry's experience with having a freely available web version of a book that is also intended to be sold.

Update: Comment from Harry Percival on 19-Jan-2014
I might have been a bit down on unit tests vs functional tests in that "unit tests never fail comment".

Not true at all, particularly as we've just been thru upgrading django on our core system, and the unit tests really saved our bacon on that one...

Links

  • Test-Driven Development with Python
  • Obey the Testing Goat - Harry's site dedicated to the book and related posts.
  • Python Testing with unittest, nose, pytest
  • Gary Bernhardt's talk, Boundaries talk including a discussion of "Functional Core, Imperative Shell".
  • Video of Boundaries talk on youtube


...more
View all episodesView all episodes
Download on the App Store

Test & CodeBy Brian Okken

  • 4.7
  • 4.7
  • 4.7
  • 4.7
  • 4.7

4.7

70 ratings


More shows like Test & Code

View all
Radiolab by WNYC Studios

Radiolab

43,838 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

623 Listeners

Heavy Networking by Packet Pushers

Heavy Networking

327 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

585 Listeners

Python Bytes by Michael Kennedy and Brian Okken

Python Bytes

215 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,044 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

142 Listeners

Unexplainable by Vox

Unexplainable

2,308 Listeners

Network Automation Nerds by Packet Pushers

Network Automation Nerds

3 Listeners