Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Becoming a .NET TDD SuperHero - ReSharper, NCrunch, Continuous Test

Jaime
March 22, 2013

Becoming a .NET TDD SuperHero - ReSharper, NCrunch, Continuous Test

Brief presentation about how to improve your TDD in .NET by using ReSharper and NCrunch/ContinuousTests (presented in Dev Friday at Medius)

Jaime

March 22, 2013
Tweet

More Decks by Jaime

Other Decks in Programming

Transcript

  1. TDD!!!
    HULK...
    LIKES...
    Or…
    Have 40 minutes
    Listening to Jaime 
    Of Fun

    View Slide

  2. AGENDA
    • Intro
    • ReSharper & TDD
    • The Tdd Flow
    • nCrunch
    • Showcase Features
    • ContinuousTests

    View Slide

  3. TDD is Awesome

    View Slide

  4. BUT TDD IS TOUGH!!!
    WhaT the Heck!?!
    Unit Testing is Tough!

    View Slide

  5. gOOd TOOlinG
    maKeS it Easier

    View Slide

  6. ReSharper
    • PLUS
    + Great TDD Dynamic
    • MINUS
    - Test RunneR

    View Slide

  7. ReSharper
    Strengths
    • QUICK fix
    • Code Generation
    • Navigation
    • Quick FIx
    • Navigation
    • Refactor
    • Code Generation
    RED GREEN REFACTOR

    View Slide

  8. ReSharper
    Weaknesses
    RED GREEN REFACTOR
    RUN TESTS
    RUN TESTS

    View Slide

  9. DEMO!
    Pro TDD with
    Resharper

    View Slide

  10. Ncrunch to
    the rescue!!!
    The Automatic
    Concurrent
    Testing ToOL
    • Continuously run tests
    • Immediate feedback
    • TRUE ReD-Green-REFACTOR
    • Seamless Tdd Experience
    • IT WorKs, It’s FAST

    View Slide

  11. BASIC TOOLS
    Risk/progress Bar
    Visual Studio Editor

    View Slide

  12. Test window Processing Queue
    The Risk/Progress Bar
    Provides a Summary Of the
    Test window and the
    Processing Queue
    It behaves like a progress bar
    Shows how many tests are failing

    View Slide

  13. DEMO!
    Flash-Fast TDD
    with nCrunch

    View Slide

  14. Code Coverage Tooling!
    Covered and Passing
    Covered but failing
    Tests that are covering
    This line of code

    View Slide

  15. Test Performance
    Metrics!
    Slow tests are
    clearly shown

    View Slide

  16. Inline Exception
    Information and great
    Debugging Tooling

    View Slide

  17. DEMO!
    More Additional
    features

    View Slide

  18. Completely configurable.
    Select which tests are
    run automatically and
    which are not based on
    Different conditions

    View Slide

  19. Intelligent Test Execution
    Small Memory footPrint
    Paralell Execution
    Optimized build Process
    Smart Multiprocessor support
    AND…
    All to make nCrunch VEEERY Fast…

    View Slide

  20. Get it
    at…
    www.ncrunch.net

    View Slide

  21. However…
    There’s Also
    a Dark Side…
    It Costs
    158 $!!

    View Slide

  22. DEMO!
    Setting up nCrunch
    within a Big existing
    application

    View Slide

  23. Behold…
    There’s an
    Alternative!

    View Slide

  24. www.ContinuousTests.Com
    Get it
    at…

    View Slide

  25. Thank
    you!!!!
    Got any
    Questions?
    Jaime González García
    Software developer
    BarbarianMeetsCoding.Com
    [email protected]

    View Slide