How to Share Development Process?

Let's dive into the first chapter of this serie about testing in Nuxt. Prevent your code being untestable and difficult to maintain.

4 min read
Share
How to Share Development Process?

Introduction

When developing frontend features, it’s easy to create components that mix UI, business logic, data retrieval, and state management. While this might work initially, it quickly becomes untestable and difficult to maintain.

If you’re new to testing, join me on this journey—I believe it will help you navigate similar situations. If you’re experienced with testing, I welcome your feedback to improve this .

Code

👉 feat/version-banner

What’s the Best Way to Learn Testing?

A common belief is that the best way to learn is through practice and sharing.

Sharing, however, can take many forms. One approach I’d like to explore with you is sharing the step-by-step development flow. I believe one of the best ways to discuss development is by breaking it down into incremental steps, highlighting key questions, challenges, and decisions along the way. The goal is to follow a natural thought process, allowing ideas to emerge organically while balancing structured planning before each step in an iterative and minimalistic manner—planning and emergence.

I will progress from the outside in, starting with the UI, as that was the natural order in which I tackled this feature. It makes sense to begin with the user interface—the part users see first.

Guidelines

As I reflect on my decision-making process, I realize I follow certain principles. Here are some that will guide me:

Some decisions might seem like over-engineering. Balancing pragmatism and perfectionism is tricky. A useful criterion is asking, What value does this decision bring? The value I seek is confidence—I want to build confidence in my code.

Feature Overview: Specifications v1

We will implement a version banner in a Nuxt application:

Specifications will evolve throughout development, just as they do in real projects. This is a solid starting point. Though simple, I believe this feature provides valuable learning opportunities.

Decision Map Overview

Let’s take a look at the final map of this journey ( Open 🔎):

Decision Map Graph

Previous

Next