Kata 5: Working with Data

Kata 5: Working with Data

The App

SmartFashion is a clothes store. It has an API which can be used by their own website or even other websites they have partnered with, hence the need for the API.

The API is basically a CRUD (Create, Read, Update, Delete) API.

Basic Clients can:

  • Search for items
  • Buy items

Admin Clients can also:

  • Add items
  • Remove items
  • Update items

Problem Statement

Expand the tests you wrote in previous Katas in order to use a data-source and parameterized tests. Get your Data-Driven Testing knowledge up to speed with our Best Practices: Working With Data article.

Clues

Highlight the text below to reveal the clue:

  • Don’t worry about whether the data-source is a database or a file. This kata should be technology agnostic.