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!

Like this? Share it with your network

Share

Be a legacy code Unit Test Ninja with Typemock Isolator

on

  • 5,309 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,309
Views on SlideShare
1,713
Embed Views
3,596

Actions

Likes
0
Downloads
6
Comments
0

6 Embeds 3,596

http://www.typemock.com 3532
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 Presentation Transcript

  • 1. 1
    Unit Testing
    Legacy Code
    With
    Isolator
    Roy OsheroveCTO, Typemock
    @RoyOsherove
  • 2. 2
    Asking Questions
    Twitter : Ask @Typemock under #Legacy
  • 3. 3
    Giveaways:
    2 Isolator Licenses
    Answer Survey
  • 4. Agenda
  • 5. Our ApplicationBlogEngine.NET
    http://blogengine.codeplex.com/
    Download the code
    Follow Along
  • 6. What shall we test?
  • 7. 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
  • 8. Demo Excavating Code with Isolator
    Wishful Invocation
    Get dependency exception
    Choose Dependency from stack
    FAKE dependency
  • 9. 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
  • 10. More Advice
    Typemock Forums
    http://forums.typemock.com/
    Support staff
    Blog.typemock.com
    10
  • 11. Vs. Competitors
  • 12. 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. 13
    Asking Questions
    Twitter : Ask @Typemock
  • 14. 14
    Giveaways:
    2 Isolator Licenses
    Answer All Survey Questionsafter this webinar finished
  • 15. Thanks
    15
    Roy Osherove CTO, Typemock
    royo@typemock.com