Skip to content

Instantly share code, notes, and snippets.

@ambersariya
ambersariya / Kata - TV Price Comparison Service.md
Created January 8, 2025 11:58
Kata - TV Price Comparison Service

Modernized TDD Scenario: TV Price Comparison Service

Scenario

Test-drive code that compares prices on smart TVs from three different sources, each with modern or legacy data access methods. The service will allow users to specify the make and model of a TV and recommend the retailer(s) offering the best price.

Data Sources

  1. Screen Bargains
  • An online retailer providing a RESTful web API.

Flight Availability and Pricing Service

Scenario

Build a service that aggregates flight availability and pricing from multiple airlines and travel agencies. The service allows users to search for flights between two cities, specifying a date range and preferences. It recommends the best flights based on price and availability, considering factors like layovers and travel duration.


Requirements