Thanks to visit codestin.com
Credit goes to github.com

Skip to content

imdhemy/tdd-kata

Repository files navigation

TDD Kata Collection

A collection of step-by-step code katas designed to learn Test-Driven Development (TDD) with incremental levels of complexity.

🎯 Purpose

This project provides hands-on practice with TDD using modern TypeScript, ESM modules, and contemporary testing tools. Each kata focuses on specific TDD concepts and programming fundamentals.

🛠 Tech Stack

  • TypeScript - Type-safe JavaScript with modern syntax
  • ESM - ES6 modules for clean imports/exports
  • Vitest - Fast and lightweight testing framework
  • ESLint - Code linting and style enforcement
  • Node.js 24+ - Modern runtime environment

🚀 Getting Started

Prerequisites

  • Node.js 24.0.0 or higher
  • npm (comes with Node.js)

Installation

# Clone the repository
git clone https://github.com/imdhemy/tdd-kata.git
cd tdd-kata

# Install dependencies
npm install

📚 Katas

Beginner Level

🔄 TDD Process

Follow the Red-Green-Refactor cycle:

  1. 🔴 Red: Write a failing test
  2. 🟢 Green: Write minimal code to make it pass
  3. 🟡 Refactor: Improve the code while keeping tests green
  4. Repeat: Move to the next test

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

🤝 Contributing

Contributions are welcome! Feel free to:

  • Start discussions or questions on the discussion board.
  • Discussions could be:
  • Questions about TDD practices.
  • Suggestions for new katas.
  • Improvements to existing katas.
  • Sharing your TDD experiences.
  • Any kind of feedback.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published