Unit Testing

Clean Code Clinic: Dealing with CRRAP (Microtesting Legacy Code)

room: Osgoode Foyer, LC — time: Wednesday 08:30-10:00, Wednesday 10:30-12:00
Average Rating: -

The second great myth of software development training is the notion that most programming most of the time is on new code. In fact, most developers spend most of their time working on CRRAP: Code Requiring Remedial Attention Promptly. In this course, we’ll lay out the five basic patterns for bringing complex legacy code under perfectly tested control. If you’ve ever heard or said “Don’t touch that, you don’t know what it’s connected to,” this class is for you. Each pattern is illustrated with a complete real-world

Clean Code Clinic: Ugly Tic Tac Toe

room: Osgoode Foyer, LC — time: Tuesday 14:00-15:30, Tuesday 16:00-17:30
Average Rating: -

The instructors wish, when they were first learning test-driving, refactoring, and deep OO, that they had had a genuine side-by-side comparison between code Heaven and code Hell. Such an object lesson would have made the value and benefits of agile programming practices so much more plain, so much sooner. Alas for us, but hurray for you! In this clinic session you will be able to compare and work with two very different implementations of the same problem domain: one of them fabulously ugly, and the other of them — well — much closer to gorgeous.

Tale of Two Codebases

TDD Principles for Database Development

room: York, M — time: Thursday 10:30-12:00
Average Rating: -

Success in object-oriented agile development is currently being achieved with a technique known as test driven development (TDD). In database development however, TDD practices are not wide-spread and development teams struggle with applying the TDD principles to the SQL language. This is a problem, because it leads to poorly tested code. In turn, not having the appropriate test cases, makes it difficult to improve your existing database design. Not implementing TDD practices in the database, overtime, leads to a decaying architecture and can hinder the evolution of the overall

Rethinking Unit Testing: xUnit.net

room: Osgoode East, LC — time: Tuesday 10:45-12:15
Average Rating: -

The release of NUnit 2.0 was almost 6 years ago. According to Kent Beck, Most folks who port xUnit just transliterate the Smalltalk or Java version. That’s what we did with NUnit at first, too. NUnit 2.0 is as it would have been done had it been done in C# to begin with. Unit testing began to really catch on in .NET. Six years later, many .NET developers are doing unit testing, and many of them cut their teeth on NUnit.

Syndicate content