~/talk

AUTOMATED FUNCTIONAL TESTS BASED ON SELENIUM FOR DJANGO PROJECTS

Talkat PyCon Ukraine 2014 · 2014-11-01..11-02· [testing]
slides:none on file

Django projects use Selenium with LiveServerTestCase and a Page Object pattern to keep UI tests readable; an in-repo test app runs functional scenarios against a live test server. A corpus of ~3,000 tests (≈200k lines) once takes ~30 hours, so tests run in parallel via Selenium Grid (or cloud providers) to cut wall time; Factory Boy/Faker generate data, explicit waits replace implicit ones, and heavy duplication (like repeated UI logins) is mocked out — the setup proves reliable in practice.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 3:53What is Selenium and why use it
  3. 6:47Challenges in growing test suites
  4. 8:11Project structure for functional tests
  5. 10:01Page Object Pattern benefits
  6. 12:58Basic page implementation example
  7. 14:24Django LiveServerTestCase advantages
  8. 16:53Reducing test execution time
  9. 18:41Selenium Grid explained
  10. 21:53Parallel test execution setup
  11. 22:17Generating test data best practices
  12. 23:20Writing maintainable functional tests
  13. 25:15Q&A session part 1
  14. 26:49Q&A session part 2
  15. 27:50Q&A session part 3
  16. 29:00Q&A session part 4
  17. 30:24Q&A session part 5
  18. 31:29When to use Selenium
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.