~/talk

Advanced Testing Concepts

Talkat Golang UK 2016 · on Thursday, 2016-08-18· [testing, developer-experience]
slides:none on file

Go 1.7 adds subtests via T.Run and subbenchmarks via B.Run, letting table-driven benchmarks become individual benchmarks (many core benchmarks are rewritten this way). Names become slash-separated and selectable with slash-separated regex selection on the command line; names are escaped and deduplicated with sequence numbers. Parallel semantics run parallelized subtests after their parent returns, so the talk shows using grouped parallelism with nested runs and a small emulation package to keep compatibility with pre-1.7.

AI-written summary · about

  1. 0:00Intro
  2. 0:28Go 1.7 is Released!
  3. 0:50What's New in 1.7?
  4. 1:33Table-Driven Tests pre 1.7
  5. 2:31Benchmarks pre 1.7
  6. 2:54Table-Driven Benchmarks
  7. 4:12Error Messages pre 1.7
  8. 5:39Error Messages with Subtests
  9. 6:16Use of Fatal and Skip pre 1.7
  10. 8:23Selecting subtests
  11. 13:10Test Names are Uniqued
  12. 15:08Common Set Up and Tear Down
  13. 16:30Per-Test Set Up and Tear Down
  14. 17:52Semantics
  15. 19:37Limit which Tests Run in Parallel Together
  16. 21:04Clean up after Group of Tests
  17. 22:40Backwards compatibility
~/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.