Skip to content

This repository contains the solution for the String Calculator TDD Kata implemented using TypeScript. The project follows Test-Driven Development (TDD) principles and demonstrates the step-by-step evolution of the codebase through frequent commits.

Notifications You must be signed in to change notification settings

sanbiradi/incubyte-tdd-assignment

Repository files navigation

Incubyte TDD Assignment

This repository contains the solution for the String Calculator TDD Kata implemented using TypeScript. The project follows Test-Driven Development (TDD) principles and demonstrates the step-by-step evolution of the codebase through frequent commits.

Features

  • Returns 0 for an empty string input.
  • Adds two or more comma-separated numbers.
  • Supports newline characters between numbers.
  • Allows custom delimiters defined at the beginning of the string.
  • Throws an exception for negative numbers and lists all negative numbers in the exception message.

Project Structure

Folder Structure in vs code

Test Results

NPM Test Results in commmand line

Thank you for considering my application for this opportunity.

About

This repository contains the solution for the String Calculator TDD Kata implemented using TypeScript. The project follows Test-Driven Development (TDD) principles and demonstrates the step-by-step evolution of the codebase through frequent commits.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published