Coding Dojo – Week 5

Our 5th coding dojo was a lonely affair, as the normal crew was either sick, at training, or in meetings with offshore teams.  I took the opportunity to go through Mark Seemann’s Outside-In Test-Driven Development training offered on PluralSight (http://pluralsight.com/training/courses/TableOfContents?courseName=outside-in-tdd).

The concept that you must be able to pull source code from TFS and have the system build and run with no extra setup is one I will take to heart.  He showed how to use the Microsoft.aspnet.webapi.selfhost library to do in-process hosting of his web api allowing for unit testing without any external setup/teardown.  He pointed out that if you have problems figuring out where to start with your unit tests, start with an end state assertion and then work backwards.  Finally, I followed his example of creating a walking skeleton, which is an implantation of the thinnest possible slice of real functionality that we can automatically build, deploy, and test end-to-end.

 

 

 

About Chris VanHoose

Principal Software Architect at CT Lien Solutions
This entry was posted in Software Architecture and tagged , . Bookmark the permalink.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.