Testing Vue

Go to class
Write Review

Testing Vue provided by Laracasts is a comprehensive online course, which lasts for 2-3 hours worth of material. Testing Vue is taught by Jeffrey Way. Upon completion of the course, you can receive an e-certificate from Laracasts. The course is taught in Englishand is Paid Course. Visit the course page at Laracasts for detailed price information.

Overview
  • How in the world are we supposed to unit test Vue components? Is it even possible? Why, yes. Yes it is! I'll show you the full process, step by step. Not only will you learn the necessary tooling, but we'll also review the ins and outs of testing your client-side code.

    Have you ever wanted to use TDD for your Vue components? I'll show you how.

Syllabus
    • TDD Your First Vue Component From Scratch
    • Test Single File Components
    • Setting Data and Asserting Styles
    • Implementation Details Versus Rendered Output
    • Asserting Emitted Events
    • Hooking Into Laravel Mix
    • TDD a Question Component With Helper Functions
    • Mocking Axios Calls
    • Testing Asynchronous Actions and Timers
    • Cleaner Asynchronous Mocha Tests