~/talk

Lessons learned about testing and TDD

Talkat EuroPython 2015 · 2015-07-20..07-26· [python, testing]
links:none on file
slides:none on file

Describes building the Sardinia Radio Telescope control software with pytest fixtures for CLI and component tests and a workflow from user story to unit tests. Claims unit tests must be fast and selective with ideally one assert per test, that servo movement takes minutes so tests use hardware simulators rather than mocks to run quickly, and that TDD raises coverage but isn’t religiously required; integration tests verify component API contracts and long term maintenance improves despite upfront cost.

AI-written summary · about

  1. 0:00Start
  2. 4:26Development Workflow
  3. 11:29A User Story
  4. 12:19User Acceptance Test
  5. 13:45Functional Test: User Point Of View
  6. 16:12Integration Test: System Point Of View
  7. 19:20Component Implementation
  8. 19:57Unit Tests Should Run Offline
  9. 20:42Unit Tests With Mock Objects
  10. 21:48Tests With Simulators
  11. 23:45No TDD and more Functional Tests?
  12. 24:44Are functional tests worse than useless?
  13. 25:17A Recent Story: the Airbus A350
  14. 26:22Lessons Learned
~/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.