addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Dev Craftsmanship SIG: Mocking - Making fun of unit tests using DI

  • to
  • Vaco

    2501 Blue Ridge Road, Raleigh, NC (map)

    35.815269 -78.705444

  • Do you avoid writing unit tests because of your database? Are your unit tests hundreds of lines long, with a ton of setup and teardown code? Have you heard of Dependency Injection and want to see examples of it in action? Do you wonder what the D is in the SOLID principles? Are people around you always talking about "mocks", and you want to see what all the hubbub is about? Have you inherited a project that has no unit tests, and you are struggling with how to add them after-the-fact? Would you like to see a logical follow-up to the Nov 30th presentation on Unit Testing? 

    If you said 'Yes' to any of these questions, this presentation is for you. In this presentation, we will discuss two key topics: Dependency Injection and Mocking. I will show a piece of code that is already 'complete', without any DI or mocking. We will then walk through refactoring that code, step-by-step, until it is fully unit-tested, using newly-written mocks. If you have never written a mock, I invite you to come see how they are created, and, more importantly, why they are useful. This presentation is entirely in PowerPoint, so all you need to bring is yourself. Come see why mocking is another great tool to have in your software development toolbelt!

    Presenter: Derick Linkous

Join or login to comment.

Want to go?

Join and RSVP

41 going

4 spots available

3 not going

(See all)

Our Sponsors

  • JetBrains

    Provides TRINUG free licenses for any product at our Main Meetings!

  • Devart

    Database connectivity solutions for Microsoft .NET

  • Infragistics

    Thank you!

  • Redgate

    The world’s most trusted tools for making database changes

  • Telerik

    Thank you!

  • Syncfusion

    Click for the free e-book library, the Succinctly series!

  • Pluralsight

    Thank you!

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy