What is Vitest? Write your first test to lock in a bug fix
What is Vitest and how do you write a first test? Lock in a café's "35.000" price fix, use test.each for many cases, and avoid tests that always pass.
Topic 01 · 6 posts
From solid fundamentals to technical decisions you can explain.
What is Vitest and how do you write a first test? Lock in a café's "35.000" price fix, use test.each for many cases, and avoid tests that always pass.
How to choose a framework without starting from the framework: four steps that turn a vague need into a clear technology choice that is easy to maintain.
How to write a README that works as your first design document: it forces you to answer who the project is for and how it runs, in fewer than five commands.
Your Git history is the project's diary. How to write good commit messages with a simple convention that helps you find bugs, write changelogs, review faster.
How to debug in VS Code with breakpoints, conditional breakpoints, Watch, the Debug Console and logpoints, through a bug that turned 70,000 đồng into 70.
Learn to read a stack trace through a real bug: read the error message, find your own line of code, trace the bad data back and fix it where it starts.