~/talk

Requre: Simplify your Integration&E2E tests

Talkat DevConf.CZ 2020 · 2020-01-24..01-26· [testing]
links:none on file
slides:none on file

Recording-based test harness called Requre records live API calls and function outputs to YAML files and replays them so tests run offline, without CI secrets, and without heavy mocking. Implemented in Python and used on the Augur project against GitHub GitLab Pagure Koji Copr and git libraries, it also archives files/directories, supports post-processing to scrub tokens/headers, and enforces consumption counts so tests fail if code calls more than recorded. Tradeoffs: large YAML blobs, frequent regeneration when external APIs or dependency outputs change, and library-specific capture plumbing.

AI-written summary · about

  1. 0:00Intro
  2. 0:58Motivation Testing Packit project
  3. 3:32Benefits simplicity
  4. 5:55Benefits extension
  5. 6:59Cons | code stability
  6. 9:37Cons | complexity of libraries
  7. 11:54Cons | storage files/security
  8. 14:38basic storage
  9. 18:11file decorators
  10. 20:34request replacement
  11. 21:29python import wrapper
  12. 21:57very simple real life example
  13. 23:19Similar projects
~/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.