Building Test Strategy for Vue.js application
summary
Claims that testing saves massive cost citing 85 billion dollars and SmartBear data that 45% rank testing as most crucial. Gives concrete tooling: Jest or Mocha, Vue Test Utils, ESLint, Babel, plus Nightwatch with Selenium and JDK for end-to-end. Explains unit vs snapshot (string diffs), mount vs shallowMount, the testing pyramid and a value driven honeycomb approach, and shows a demo app with unit and E2E suites running successfully.
AI-written summary · about
chapters (20)
- 0:00Start
- 3:21Let's define testing
- 3:32roaches for testing
- 3:55Manual testing
- 5:04befinition of automated testing
- 5:23known testing approach - Pyramid
- 6:06in testing anti-pattern - Ice Cream Cone
- 6:51tive testing approach - Honey Comb
- 7:46Frontend testing pyramid
- 8:16pproach when followed from
- 8:30nking of application architecture.
- 9:11testable code is...
- 11:30your fighter test runner
- 12:35ed with Jest for Vue application
- 16:29t testing is easy peasy and helps a lot!
- 17:41tch advantages
- 18:10tch pain points
- 19:04nd testing with Nightwatch and
- 20:04of Nightwatch configuration
- 20:34nd tests for a peace of mind
related talks
21mTesting Vue Apps
39m7 ways to make your Vue unit tests better
24mWriting Good Tests for Vue Applications
30mTips, Tricks, and Best Practices
35mVue Component Testing from a Team that Wrote Unit Tests for a Year Straight
26mUnit testing Vue components Why test, what to test, and how to test Vue components
57mScaling the Testing Pyramid in JavaScript
39mTesting, Testing, 1, 2, NaN
