Skip to content

Instantly share code, notes, and snippets.

@cromwellryan
Last active July 12, 2017 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cromwellryan/fbbe85700a1c5680531e9ffda64f7a36 to your computer and use it in GitHub Desktop.
Save cromwellryan/fbbe85700a1c5680531e9ffda64f7a36 to your computer and use it in GitHub Desktop.
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