Testing: Choose Your Weapons
summary
Shows concrete testing choices and what actually worked: use Python's unittest plus Twisted's trial test runner waits on Deferreds and @inlineCallbacks so async functions assert normally; convert semi-automated GUI checks into keyboard-driven UI tests catch serious GUI bugs by sending keystrokes and verifying program state; adopt table-driven FIT/piFIT for business-facing examples; add a reversible round-trip translation property t(u(data)) == data that runs weekly against production snapshots and reliably surfaces omitted-field and schema-translation errors.
AI-written summary · about
chapters (7)
- 0:00Introduction to testing
- 2:01Basic testing approaches
- 5:06Testing asynchronous code
- 9:37UI and keyboard testing
- 16:56Tabular testing with Fit
- 21:53Property-based and round-trip
- 27:37Q&A session
related talks
59mTesting in Python
21mDon't just test, my friend, test better
59m.NET Testing Techniques You Didn’t Know You Needed
35mTurning test writing into a consistently brief and pleasant experience
41mTesting is Fun in Python!
27mEmpathetic testing: Developing with compassion and humility
01h 29mAdv. Software Testing for Data Scientists
24mTesting Your Python Code
