Intro into testing

Various testing

  • Unit testing – code unit – usually a function, usually run in a headless browser
  • Integration testing – in real browsers, selenium webdriver, test common permutations
  • Continuos intergation
  • Regression testing
  • Accessibility – keyboard support, HTML markup, ARIA attributes, color contrast

Chrome plugins

aXe Coconut

  • End-to-end
  • Automated/Manual
  • Snapshot Testing (Jest, React Storybook, Storyshots)
  • Visual Snapshot Testing – comparing snapshots

Writing Testable Code


Marcy Sutton on What’s the Deal With Testing? at SmashingConf Barcelona 2017