Podchaser Logo
Podchaser Logo
Charts
68: test && commit || revert (TCR) - Thomas Deniffel

68: test && commit || revert (TCR) - Thomas Deniffel

Released Wednesday, 13th March 2019
Good episode? Give it some love!
68: test && commit || revert (TCR) - Thomas Deniffel

68: test && commit || revert (TCR) - Thomas Deniffel

68: test && commit || revert (TCR) - Thomas Deniffel

68: test && commit || revert (TCR) - Thomas Deniffel

Wednesday, 13th March 2019
Good episode? Give it some love!
Rate Episode
List

With conventional TDD, you write a failing test, get it to pass, then refactor.
Then run the tests again to make sure your refactoring didn't break anything.
But what if it did break something?
Kent Beck has been recommending to commit your code to revision control after every green test run.
Oddmund Strømme suggested a symmetrical idea to go ahead and revert the code when a test fails.
Kent writes that he hated the idea, but had to try it.
Then wrote about it last September.
And now we have TCR, "(test && commit) || revert".

What's it feel like to actually do this?
Well, Thomas Deniffel has been using it since about a month after that article came out.
In this episode, we'll hear from Thomas about his experience with it.

It's a fascinating idea. Have a listen and let me know what you think.

Special Guest: Thomas Deniffel.

Links:

Show More
Rate
List

Join Podchaser to...

  • Rate podcasts and episodes
  • Follow podcasts and creators
  • Create podcast and episode lists
  • & much more
Do you host or manage this podcast?
Claim and edit this page to your liking.
,