CSC 430

Useful Test Driven Development Links:

Wikipedia Article

TDD introduction on agiledata.org

Powerpoint slides of "The Prime Factors Kata" 

Video of Bob Martin discussing The Prime Factors Kata

Note copied from WikipediaCode Kata is a term coined by Dave Thomas, co-author of the book The Pragmatic Programmer, in a bow to the Japanese concept of kata in the martial arts. A code kata is an exercise in programming which helps a programmer hone their skills through practice and repetition. As of October 2011, Dave Thomas has published 21 different katas.

PowerPoint slides of the "Bowling Game Kata"

Pair Programming of the Bowling Game

Test Driven Design Lecture slides from Dr. Kenneth Anderson, University of Colorado at Boulder. Includes a good overview as well as two good examples.

NetBeans and JUnit Tutorial

DZone:  Top 10 TDD Resources, TDD Checklist Expansion Pack

DZone:  The Basics of Test Driven Development

DZone:  Unit Testing with Martin Fowler

DZone:  TDD via Tic-Tac-Toe

Useful TDD related links from Fall 2012 CSC 430 Students

From Jason Clark:

http://www.authorstream.com/Presentation/Demian-8839-test-driven-devlopment-mock-objects-tdd-dev-session-education-ppt-powerpoint/
This is a nice powerpoint presentation on TDD.

http://www.ing.unal.edu.co/ColSWE/images/seminario/02Julio/TDD.ppt
This is a nice powerpoint presentation on TDD.

From Kurt Ladendorf:

http://www.youtube.com/watch?v=rYfm-s_TJ_k
-  TDD in Java in the Eclipse environment.

From Michael Owen:

http://www.youtube.com/watch?v=wEhu57pih5w
     The most useful thing I've found!  Very informative and very useful!  Highly recommended!  Talks about the importance of Unit Testing.
http://wiki.developerforce.com/page/How_to_Write_Good_Unit_Tests
     Good information about how to implement unit testing.
http://www.agiledata.org/essays/tdd.html
     Good introduction to TDD.

From Demis Harper:

http://stackoverflow.com/questions/4910138/unit-test-examples-- contains a very good example and explanation of a unit test

http://www.amazon.com/Art-Unit-Testing-Examples-Net/dp/1933988274/ref=sr_1_1?s=books&ie=UTF8&qid=1355201252&sr=1-1&keywords=unit+testing -- Out of all the material we covered, I felt I grasped unit testing the least.  I mean I understand what it is, why it is, and how to do self contained tests in the small, but I feel like there's something I can't put my finger on I don't grasp.  The book has good reviews and is supposed to have great examples in it.

From Jessica Lott:

Interesting blog on Unit Testing:
http://blog.stevensanderson.com/2009/08/24/writing-great-unit-tests-best-and-worst-practises/

I have used code project tutorials several times to learn new subjects. Here is one of their tutorials on writing your first unit test:
http://www.codeproject.com/Articles/10105/Writing-Your-First-Unit-Test

9.) Jeff Atwood is just a fun guy to learn from. Here is some more on Unit Testing:
http://www.codinghorror.com/blog/2006/07/i-pity-the-fool-who-doesnt-write-unit-tests.html



From Josh Clifford:


http://msdn.microsoft.com/en-us/library/ms182532.aspx
A walkthrough for creating and running unit tests for managed code in C#.

http://www.planetgeek.ch/2011/01/04/clean-code-and-clean-tdd-cheat-sheets/
Cheat sheets for both Clean Code and TDD.


From Conal Green:

<https://sites.google.com/site/tddproblems/>
A TDD Problem Repository... it has good ideas, but possesses no resources for pursuing them. However, they may be handy in developing labs, or for students to pick from on their own.

<http://osherove.com/tdd-kata-1/>
This is a neat lab/kata, and it has a video solution in eclipse/LamdaJ (terribly fuzzy), and another for NetBeans, the Video Solution for which is found at:
<http://vimeo.com/8506325> (use HD for goodness sake, or you can't read a thing!)

<http://www.micsymposium.org/mics_2005/papers/paper10.pdf>
A full lab assignment emphasizing TDD, but also ustilising a software development approach, as it is team based. You could use it part-and-parcel, or adapt it as you see fit. Oh, and its linked lists, which is always good.

<http://gojko.net/2009/02/27/thought-provoking-tdd-exercise-at-the-software-craftsmanship-conference/>
Another TDD exercise, this time implementing the game "Go". As it stands, it is an example, but it seems it was and possibly again could be a Lab, and might be used as the template for a custom Lab.

Useful TDD related links from Fall 2013 CSC 430 Students

From Matt Carson:

http://www.infoq.com/presentations/TDD-Steve-Freeman
Presentation by Steve Freeman about TDD: How Do We Know When We’re Done

http://www.youtube.com/playlist?list=PLAD14D207F310701E
Programming Katas, this is a series. Solutions are available in the comments.

http://blogsprajeesh.blogspot.com/2011/03/solving-supermarket-coding-kata-using.html
Code Kata practice using TDD.

http://www.youtube.com/watch?v=f3G7gu1IHws
Lets Play” Video of TDD

http://www.youtube.com/watch?v=O-ZT_dtlrR0
Palindrome checker via TDD. Has a little bit of static, but is still understandable.

From Aaron Clark:

http://simpleprogrammer.com/2013/08/26/dont-code-katas/
This blog offers a viewpoint that most coding Katas are not useful, as they are just repetative.

http://codingdojo.org/cgi-bin/wiki.pl?KataCatalogue
A list of Coding Katas for those who wish to try them appropriatley.

From Jennifer Gross:


https://sites.google.com/site/tddproblems/all-problems-1
This page contains several TDD practice problems.

http://codingdojo.org/cgi-bin/wiki.pl?KataCatalogue
Kata practices

http://www.youtube.com/watch?v=uGaNkTahrIw
Agile Academy’s Agile in Practice: Test Driven Development.

http://www.slideshare.net/Skud/test-driven-development-tutorial
3-hour tutorial on TDD.

From MiGyeong Gwak:


http://www.vogella.com/articles/JUnit/article.html
(This is a tutorial for unit testing with JUnit. It includes how to run JUnit tests in Eclipse Environment.)

From Jerad Hobgood:


http://www.vogella.com/articles/JUnit/article.html
Great if you like a simple written instructions on juit testing.

https://www.youtube.com/watch?v=QEyxgtCEWMw&list=PL0951947FC3CB5BB3
this is a two part video, the speaker is a little dry but is great for learning about junit testing.(help me alot).

http://net.tutsplus.com/tutorials/php/the-newbies-guide-to-test-driven-development/
This is a good short intro about TTD. The code samples use PHP.


From William Holt:


Extreme Programming and a Simple TDD Introduction - http://msdn.microsoft.com/en-us/magazine/cc163982.aspx

From Emilee King:


http://www.eecs.yorku.ca/course_archive/2003-04/W/3311/sectionM/case_studies/money/KentBeck_TDD_byexample.pdf
Test Driven Design by Example

http://www.lynda.com/Developer-Programming-Foundations-tutorials/Foundations-Programming-Test-Driven-Development/124398-2.html?utm_campaign=QCif_-r8eK4-yat-c1&utm_medium=viral&utm_source=youtube
This is really cool, this is an online course on TDD.

From Jinbo Lin:


http://www.tutorialspoint.com/junit/index.htm
this website contains every single topic of JUnit, and they provide code sample for every topic. Cons: too much details in all topics.

https://www.youtube.com/watch?v=qU9DmFa45rc
This video was uploaded 3 years ago. Although this is old technology, indeed this person use notepad to wrote the program instead of using IDE, this video still provide a clear view of JUnit.


From Keith Neer:


http://www.vogella.com/articles/JUnit/article.html
     A walk-through tutorial of JUnit testing in Eclipse.

http://java.dzone.com/articles/junit-tutorial-beginners
     This link is an introductory tutorial for JUnit.

From XuLong Peng:

a good site for introducing TDD: What is TDD, Why use TDD and How to use.
http://www.agiledata.org/essays/tdd.html

Good slides show for TDD tutorial!
http://www.slideshare.net/Skud/test-driven-development-tutorial

12 Unit Testing Tips for Software Engineers
http://readwrite.com/2008/08/13/12_unit_testing_tips_for_software_engineers#awesm=~ooPCm0MKfGpAYF

How to write good unit tests
http://wiki.developerforce.com/page/How_to_Write_Good_Unit_Tests

From Tyler Roberts:

http://codekata.pragprog.com/
Site for using code kata's

http://codingdojo.org/cgi-bin/wiki.pl?KataCatalogue
Another site to practice code kata's

http://butunclebob.com/ArticleS.UncleBob.TheBowlingGameKata
Robert C Martin's bowling game kata

http://c2.com/cgi/wiki?TestDrivenDevelopment
Introduction to test driven development

http://www.youtube.com/watch?v=dWayn0QsJr8
Intro to Learning TDD