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-circleimageimagesinstagramFill 1linklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

TDD As If You Meant It

In this month hands-on session, we will be practicing TDD As If You Meant It. The rules are:

  1. Write exactly one new test, the smallest test you can that seems to point in the direction of a solution
  2. See it fail
  3. Make the test from (1) pass by writing the least implementation code you can in the test method.
  4. Refactor to remove duplication, and otherwise as required to improve the design. Be strict about using these moves:
    1. you want a new method—wait until refactoring time, then… create new (non-test) methods by doing one of these, and in no other way:
      1. preferred: do Extract Method on implementation code created as per (3) to create a new method in the test class, or
      2. if you must: move implementation code as per (3) into an existing implementation method
    2. you want a new class—wait until refactoring time, then… create non-test classes to provide a destination for a Move Method and for no other reason
      1. populate implementation classes with methods by doing Move Method, and no other way

At the end we will be discussing what impact this approach had in your design.

You also need to register on SkillsMatter's website: http://skillsmatter.com/podcast/agile-testing/tdd-as-if-you-meant-it

Join or login to comment.

  • Mark P.

    I'm still not convinced that I can do it in practice, but the experience of trying to do it is a good experience.

    September 5, 2012

  • @sleepyfox

    Good material but not enough time for the session.

    August 31, 2012

  • Brad

    an engaging and thought provoking session

    August 29, 2012

  • James L.

    slightly confussed about the two waiting lists (skills matter and this one) im RSVP yes on this one and on the waiting list for the skills matter one - am i coming or am i on the waiting list?

    August 28, 2012

    • Samir T.

      Hey James. The one here on Meetup is canonical. If you can't get onto the Skills Matter list, don't worry too much about it. Just explain when you get there.

      August 28, 2012

  • Sandro M.

    @Daniel Sorry, I should have explained better. We run hands-on sessions every month and they all follow a similar format. Developers will be working in pairs. We always recommend that you pair with someone that you don't know, but you are free to pair with whoever you want. The pair agrees which language they want to use. At least one person needs to have the environment already setup. There is no time to install software. A problem is given (that can be solved in any language) and pairs start working. Towards the end, we discuss our solutions, in a mini-retrospective. Session finishes around 8.15pm. Then we go to the pub. :)

    August 17, 2012

  • A former member
    A former member

    Ah ok I think I get you, so registering on SM is not the decisive bit (on some other Meetup groups it is), just as well as, but the actual real list is this one, right?

    So everyone should come prepared with a TDD project set up and the talk is going to be in pseudocode?

    August 17, 2012

  • Sandro M.

    The SkillsMatter registration URL was updated. Please register there if you haven't done it yet. @Ioannis: Normally many people in the waiting list end up being promoted since there are always people that can make to the event and change their RSVP

    @Daniel: You can use whatever language you like. Although the event is hosted by SkillsMatter, this is a LSCC event. Limit is imposed because of limited space at SkillsMatter (size of the room, desks, chairs, etc) and also to maintain the quality of the meeting. Hands-on sessions with too many people don't work well, mainly when it comes to the retrospective and discussions. Meetings like Code & Coffee and Code & Beer don't have attendance limit but for our hands-on and round-table meetings, we feel that it is better to limit attendance.

    August 17, 2012

  • A former member
    A former member

    A couple things:
    * this is the actual URL: http://skillsmatter.com/event/agile-testing/tdd-as-if-you-meant-it
    * what language is this session going to focus on?
    * please remove the attendance limit, I've already signed up on the Skills Matter website so not much point in being barred from RSVP attendance here

    Thanks!

    August 17, 2012

  • Ioannis M.

    Any chance of opening the waiting list?

    August 17, 2012

Our Sponsors

  • Codurance

    LSCC organisation

  • TIM Group

    Hosts and provides catering for our monthly Round-table meetings

  • Pivotal

    Hosts our monthly hands-on sessions

  • SkillsMatter

    Hosts our monthly talks

  • JetBrains

    Free licenses to raffle during our community events.

  • O'Reilly

    Books for review and 40% discount on printed books and 50% on e-books

  • Rewardli

    Special deals and perks for all LSCC members

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