Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
2017-07-12 Dayton Clean Coders

Test Driven Development

This page: http://bit.ly/dcc201707

Pager Kata

The kata is about the writing of the underlying data model for a pager control (NOT about the presentation). What you should create is an object or class (bunch of classes?!) which is smart enough to provide all the data required to actually render the links to pages.

https://github.com/mwhelan/Katas/tree/master/Katas.Pager

Bonus: Create a page which uses your TDDed code to render the pager.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment