~/talk

Robust Tests for Unconventional Environments

Talkat Node+JS Interactive 2019 · 2019-12-11..12-12· [testing, security]
links:none on file
slides:none on file

Dapper wallet is an Ethereum Chrome extension that deploys a smart contract per user, so transactions are slow (about 15–20 tx/s, ~1–2 minutes to confirm) and cost money (roughly $0.25 each); tests replicate production by running a geth local blockchain plus the API to catch issues missed by simple mocks. Integration tests cover popup/background/context-script messaging, login flows split into discrete steps, and Cypress is used by building the extension, serving it over HTTP, and mocking the Chrome API — which speeds development but sometimes hides encoding bugs.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:30What is Dapper Labs
  3. 3:35Smart contracts and Chrome extensions
  4. 7:12Early development challenges
  5. 10:30Challenge one: Blockchain transactions
  6. 14:41Challenge two: Extension UX flows
  7. 18:53Challenge three: Message handling
  8. 23:51Testing unconventional environments
  9. 26:43Key takeaways and conclusion
~/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.