~/talk

Microservices Architecture in Node.js - Automated Testing

Talkat Node.js Global Summit 2020 · on Saturday, 2020-05-30· [microservices, testing]
links:none on file
slides:none on file

Adds live scooter location to a Node.js microservice, first stored in a DB, later moved to Redis and then extracted into a separate live-location service; unit tests (Jest, Mocha, Jasmine, Chai) mock internals and kept passing while a bug (sending state in request body instead of query string) slips into production. Recommends API tests for tolerance to implementation changes, integration tests to catch inter-service contract mismatches, CI/CD that runs unit/api/integration on push, plus canary, synthetic user testing, and fault injection in production.

AI-written summary · about

  1. 0:00Introduction and speaker
  2. 3:28Microservices overview
  3. 5:21Testing challenges
  4. 10:40Video failure and bug
  5. 13:21Unit testing
  6. 17:36Limitations of unit tests
  7. 21:00API testing
  8. 26:06Integration tests
  9. 30:13Testing strategy
  10. 33:58Testing in production
  11. 38:42Conclusion and Q&A
~/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.