Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Replace fixtures with test doubles

#13

Fixtures are more trouble than they are worth, I'd like to completely remove them from the examples.

Reported by baphled@boodah.net · April 8th, 2010 @ 08:47 PM

State: resolved
Milestone: 0.8.2
Assigned to: baphled@boodah.net baphled@boodah.net

Activity

  1. baphled@boodah.net
  2. baphled@boodah.net
    baphled@boodah.net
    • State changed from new to open

    Done so with feature import related specs

    April 13th, 2010 @ 12:27 PM

  3. baphled@boodah.net
    baphled@boodah.net

    Need to find all steps with 'the project does have a project location' and refactor them as they are taking a long time to execute due to the amount of feature files in this project.

    April 16th, 2010 @ 03:59 PM

  4. baphled@boodah.net
    baphled@boodah.net

    Refactored the import_features steps so that the scenarios run quicker, the tests now run at a reasonable speed

    April 21st, 2010 @ 02:33 PM

  5. baphled@boodah.net
  6. baphled@boodah.net
    baphled@boodah.net
    • Milestone set to 0.8.2
    • Milestone order changed from 0 to 0

    June 29th, 2010 @ 10:34 AM

  7. baphled@boodah.net
    baphled@boodah.net
    • Milestone order changed from 5 to 0

    Added machinist to the project and refactored all cucumber scenarios to use our new factories.

    After which we'll need to do the same for our specs and then finally remove all fixtures that are no longer being used.

    July 21st, 2010 @ 04:50 PM

  8. baphled@boodah.net
    baphled@boodah.net

    Refactored all scenarios to use our factories, also removed some no essential scenarios whilst I was at it.

    The final steps are to refactor our specs and then remove our fixtures from the project.

    July 21st, 2010 @ 04:51 PM

  9. baphled@boodah.net
    baphled@boodah.net

    Refactored specs, so that all that where using our fixtures initially are now using our factories. Will review these later but for now all is green so we'll move on.

    Next step remove our fixtures.

    July 22nd, 2010 @ 08:25 AM

  10. baphled@boodah.net
    baphled@boodah.net
    • State changed from open to resolved

    Fixtures removed.

    July 22nd, 2010 @ 11:22 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.