Vue NYC - Component Tests with Vue.js - Matt O'Connell

Vue NYC - Component Tests with Vue.js - Matt O'Connell

19.965 Lượt nghe
Vue NYC - Component Tests with Vue.js - Matt O'Connell
This will be a high level introduction into the world of testing Vue components. We will look at existing component testing libraries and discuss the roadmap for the future of testing Vue . CONTENTS 0:05 - INTRO 0:30 - GOALS OF TESTING 0:39 - Confidence / Removal of fear to change code 1:06 - Code quality 2:12 - Documentation 3:14 - VUE COMPONENT TESTING 3:30 - Component contract 5:00 - OUTSIDE OF COMPONENT TESTS 5:02 - Implementation Details 6:07 - Testing the framework itself 5:56 - INTEGRATION AND SHALLOW TESTING 7:31 - Integration test example 8:31 - Shallow test example 9:48 - Tradeoffs 10:34 - LEARN MORE 11:48 - QUESTIONS RESOURCES Vue Testing Testing Vuex - https://vuex.vuejs.org/en/testing.html Avoriaz - https://eddyerburgh.gitbooks.io/avoriaz/content vue-test-utils - https://vue-test-utils.vuejs.org/en Snapshot Testing Jest - https://facebook.github.io/jest/ E2E tests Webdriver IO - http://webdriver.io Nightwatch - http://nightwatchjs.org