• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

Be a legacy code Unit Test Ninja with Typemock Isolator

on

  • 5,268 views

Roy Osherove teaches how to use Typemock Isolator to write unit tests for legacy code that cannot be changed.

Roy Osherove teaches how to use Typemock Isolator to write unit tests for legacy code that cannot be changed.
23-11-2010

Statistics

Views

Total Views
5,268
Views on SlideShare
1,675
Embed Views
3,593

Actions

Likes
0
Downloads
6
Comments
0

6 Embeds 3,593

http://www.typemock.com 3529
http://blog.typemock.com 44
http://typemock.salat.co.il 15
http://www.typemock.salat.co.il 3
http://translate.googleusercontent.com 1
http://www.google.co.il 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Be a legacy code Unit Test Ninja with Typemock Isolator Be a legacy code Unit Test Ninja with Typemock Isolator Presentation Transcript

    • 1
      Unit Testing
      Legacy Code
      With
      Isolator
      Roy OsheroveCTO, Typemock
      @RoyOsherove
    • 2
      Asking Questions
      Twitter : Ask @Typemock under #Legacy
    • 3
      Giveaways:
      2 Isolator Licenses
      Answer Survey
    • Agenda
    • Our ApplicationBlogEngine.NET
      http://blogengine.codeplex.com/
      Download the code
      Follow Along
    • What shall we test?
    • Legacy Code Ahead
      Lots of Dependencies
      Unknown Beforehand
      Many Rules Don’t Apply
      Tests are longer, and harder to read
      Better to start with integration tests
      7
    • Demo Excavating Code with Isolator
      Wishful Invocation
      Get dependency exception
      Choose Dependency from stack
      FAKE dependency
    • Summary
      Approach Legacy With Caution
      Choose the right level of isolation
      Use Broad Strokes when Faking Legacy
      Maintainability
      Readability
      See tests fail and pass
      trust
      9
    • More Advice
      Typemock Forums
      http://forums.typemock.com/
      Support staff
      Blog.typemock.com
      10
    • Vs. Competitors
    • 12
      Easy, Correct & Effective Unit Testing
      “Typemock- My testing tool of choice. Each time I use it, I rediscover its power, and I'm amazed. Great tool!”
      Jason C Divis, @CodingOfficer
    • 13
      Asking Questions
      Twitter : Ask @Typemock
    • 14
      Giveaways:
      2 Isolator Licenses
      Answer All Survey Questionsafter this webinar finished
    • Thanks
      15
      Roy Osherove CTO, Typemock
      royo@typemock.com