Testing Vue.js Applications

  • Format
  • E-bog, ePub
  • Engelsk
  • 272 sider
E-bogen er DRM-beskyttet og kræver et særligt læseprogram

Beskrivelse

SummaryTesting Vue.js Applications is a comprehensive guide to testing Vue components, methods, events, and output. Author Edd Yerburgh, creator of the Vue testing utility, explains the best testing practices in Vue along with an evergreen methodology that applies to any web dev process.Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.About the TechnologyWeb developers who use the Vue framework love its reliability, speed, small footprint, and versatility. Vue's component-based approach and use of DOM methods require you to adapt your app-testing practices. Learning Vue-specific testing tools and strategies will ensure your apps run like they should.About the BookWith Testing Vue.js Applications, you'll discover effective testing methods for Vue applications. You'll enjoy author Edd Yerburgh's engaging style and fun real-world examples as you learn to use the Jest framework to run tests for a Hacker News application built with Vue, Vuex, and Vue Router. This comprehensive guide teaches the best testing practices in Vue along with an evergreen methodology that applies to any web dev process.What's insideUnit tests, snapshot tests, and end-to-end testsWriting unit tests for Vue componentsWriting tests for Vue mixins, Vuex, and Vue RouterAdvanced testing techniques, like mockingAbout the ReaderWritten for Vue developers at any level.About the AuthorEdd Yerburgh is a JavaScript developer and Vue core team member. He's the main author of the Vue Test Utils library and is passionate about open source tooling for testing component-based applications.Table of ContentsIntroduction to testing Vue applicationsCreating your first testTesting rendered component outputTesting component methodsTesting eventsUnderstanding VuexTesting VuexOrganizing tests with factory functionsUnderstanding Vue RouterTesting Vue RouterTesting mixins and filtersWriting snapshot testsTesting server-side renderingWriting end-to-end testsAPPENDIXESA - Setting up your environmentB - Running the production buildC - Exercise answers

Læs hele beskrivelsen
Detaljer
  • SprogEngelsk
  • Sidetal272
  • Udgivelsesdato07-12-2018
  • ISBN139781638356189
  • Forlag Manning
  • FormatePub

Findes i disse kategorier...

Se andre, der handler om...

Velkommen til Saxo – din danske boghandel

Hos os kan du handle som gæst, Saxo-bruger eller Saxo-medlem – du bestemmer selv. Skulle du få brug for hjælp, sidder vores kundeservice-team klar ved både telefonerne og tasterne.

Om medlemspriser hos Saxo

For at købe bøger til medlemspris skal du være medlem af Saxo Premium, Saxo Shopping eller Saxo Ung. De første 7 dage er gratis for nye medlemmer. Medlemskabet fornyes automatisk og kan altid opsiges. Læs mere om fordelene ved vores forskellige medlemskaber her.

Machine Name: SAXO081