~/talk

Keynote - Testing in Django

Talkat DjangoCon US 2017 · 2017-08-13..08-18· [testing, django]
slides:none on file

Chronological tour of Django testing 1.0–1.11 gives concrete claims: TestCase’s transaction rollback speeds tests, parallel test workers each get their own database so forks avoid shared-state failures, and unit test subtests run many iterations (often ~200). Tools demonstrated include property-based tests with Hypothesis and mutation testing with mutpy (example: a module with 100% line coverage can still score 64% mutation, while others hit ~89–100%). Example shows moving VAT decision logic into a plain Python class and tests become simple, fast, reliable.

AI-written summary · about

  1. 0:00Introduction
  2. 2:16Overview
  3. 8:50TestRunner
  4. 12:36TestCase
  5. 20:04Subtest
  6. 24:21Test Classes
  7. 25:45Client
  8. 27:29Quality
  9. 32:52Mutation Testing
  10. 36:50Jango Tutorial
  11. 38:32Slow Tests
  12. 42:49Product Questionnaire
  13. 43:56View
  14. 45:43Conditional Check
  15. 47:29Decoupling
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.