Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

A “Wordle” on Test Driven Development in Vue.js

Handling Player Input thumbnail image

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Handling Player Input

In this lesson, we will be defining and enforcing the rules behind a player typing a guess. This episode is also a great opportunity to practice or learn about Vue Writeable Computed Ref for transforming users’ inputs.

Furthermore, we’re also exposed to the workflow behind identifying a bug, writing a regression test, and fixing the bug.

Topics Covered:

Limitations of Test Frameworks

WritableComputedRefs

Refactoring Techniques

Regression Tests

Links