top-meta icon indicating copy to clipboard operation
top-meta copied to clipboard

TDD Lesson

Open KevinMulhern opened this issue 4 years ago • 2 comments

Summary

We need a lesson to introduce students to the TDD workflow and why it's useful.

Acceptance Criteria

Lesson content should cover:

  • [x] What is TDD and its benefits.
  • [x] Explain the red green refactor cycle.
  • [x] Walk the student through TDD'ing a couple of methods of a small class.
  • [ ] Exercise: Finishing TDD'ing a few more methods in the example class used in the content.
  • [ ] Exercise: TDD a value object.
  • [ ] Exercise: TDD a class that has a collaborator which doesn't exist yet using mocks.

KevinMulhern avatar Jul 29 '21 00:07 KevinMulhern

@KevinMulhern I'm assuming this will be the official issue for this going forward, and I should close the issue I'd made under the curriculum here?

wise-king-sullyman avatar Jul 29 '21 01:07 wise-king-sullyman

Sorry @wise-king-sullyman, I had it in my head to let you know what I was up to with this and then got distracted as usual. Yeah this is where we will work from with this project going forward. The other issue can be closed if you don't mind please mate.

I wanted to give this new way of working a run before the html and css rewrite.

KevinMulhern avatar Jul 29 '21 01:07 KevinMulhern