Skip to content

christophbaker/template-kata-horse-nodejs

Repository files navigation

Node.JS Horse Kata Template

This is an exercise helping you to learn Test-Driven Development. Your task is to test-drive a function that filters, sorts and paginates a bunch of data. In this case, the data concerns horses.

One of the challenges of this exercise is to design suitable test data. There is some sample data provided which you can use as a starting point. Feel free to modify it as needed.

There is also a sample test case provided which is not finished. Feel free to re-design it as you wish. It may not be a good starting test or be correct.

There is a function in the horse backend marked with 'TODO' statements. This function should filter, sort and paginate an arbitrary table of horse data, as specified. You can change anything about the code, except for the signature of this function. It will be called by a front-end component which expects exactly this signature.

Use Test-Driven Development!

Dev Dependencies

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published