InfoQ

InfoQ

Presentation

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Recorded at:
Recorded at

Cogs in the Machine: Testing Code Embedded in an Impenetrable Framework

Presented by Roy Osherove on Sep 07, 2010 Length 00:54:13     Download: MP3
     Slides
Sections
Process & Practices,
Development
Topics
Unit Testing ,
.NET ,
Agile ,
Silverlight
Tags
QCon London 2010 ,
Frameworks ,
QCon
The next QCon is in London March 5-9, Join us!
 

How would you like to view the presentation?

In case you are having issues watching this video, please follow these simple steps to help us investigate the issue:
1. Right click on the video player and select Copy log
2. Paste the copied information in an email to video-issue@infoq.com (clicking this link will fill in the default details in most email clients).
Note: in case your email client hasn't automatically picked up the email subject, please include in your email the URL of the video too.
3. Done.
We will investigate the issue and get back to you as soon as possible. Thanks for helping us improve our site!
Summary
Roy Osherove discusses the difficulties met when trying to test code embedded in a framework (cog), presenting several possible solutions to create unit tests for cogs. He also presents Excavation, a technique used to create a domain specific test framework and some patterns used for cog isolation. The discussion centers around Silverlight code examples.

Bio
Roy Osherove is Chief Architect at Typemock and a consultant for teams on unit testing and TDD. He is one of the original ALT.NET organizers, speaks at events like TechEd and JAOO and is the author of “The Art of Unit Testing”. He writes about TDD, Team Leadership, unit testing and Agile development on his blog at ISerializable.com.

About the conference
QCon is a conference that is organized by the community, for the community.The result is a high quality conference experience where a tremendous amount of attention and investment has gone into having the best content on the most important topics presented by the leaders in our community.QCon is designed with the technical depth and enterprise focus of interest to technical team leads, architects, and project managers.
  • This article is part of a featured topic series on Agile
Silverlight by Stephen Devonald Posted
PS by Stephen Devonald Posted
  1. Back to top

    Silverlight

    by Stephen Devonald

    Interesting set of problems and solutions, but I don't understand why anyone would want to use such dysfunctional technology anyway. Why not use something where testing is feasible?

  2. Back to top

    PS

    by Stephen Devonald

    The song was good though!

Educational Content

Jesper Boeg on Priming Kanban

In this interview, Jesper Boeg, author of the new InfoQ book – Priming Kanban, discusses the keys to using Kanban effectively, and how to get started if you are currently using other approaches.

New-age Transactional Systems - Not Your Grandpa's OLTP

John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.

Cool Code

Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.

Collaboration: At the Extremities of Extreme

Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.

Yesod Web Framework

Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).

Transactions without Transactions

Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.