~/talk

Stop writing tests!

Talkat PyCon India 2020 · 2020-10-02..10-05· [testing]
slides:none on file

Argues to write fewer hand-crafted cases and rely more on property-based tests that check general invariants and generate inputs automatically. Demonstrates Hypothesis to generate thousands of cases (one demo produces ~3,500 lines), finds concrete bugs like JSON float issues (NaN/infinity) and git branch-name constraints, and shows the ghostwriter that scaffolds tests from type hints and a continuous fuzzer that runs tests indefinitely, saving minimal failing examples for replay.

AI-written summary · about

  1. 0:00Start
  2. 22:28How does ghost writer work with custom written methods?
  3. 24:50Does every test run a different set of test cases with hypothesis -I mean in the traditional sense of pytest?
  4. 25:20Does this work for keras ml models ?
  5. 26:40does it support code coverage?
  6. 26:53Do you have metrics that define the success of the library?
  7. 27:45What does this mean for TDD?
~/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.