23: Lessons about testing and TDD from Kent Beck
Test & Code30 Sep 2016

23: Lessons about testing and TDD from Kent Beck

Kent Beck's twitter profile says "Programmer, author, father, husband, goat farmer". But I know him best from his work on extreme programming, test first programming, and test driven development. He's the one. The reason you know about TDD is because of Kent Beck.

I first ran across writings from Kent Beck as started exploring Extreme Programming in the early 2000's.

Although I don't agree with all of the views he's expressed in his long and verbose career, I respect him as one of the best sources of information about software development, engineering practices, and software testing.

Along with Test First Programming and Test Driven Development, Kent started an automated test framework that turned into jUnit. jUnit and it's model of setup and teardown wrapping test functions, as well base test class driven test frameworks became what we know of as xUnit style frameworks now, which includes Python's unittest.

He discussed this history and a lot more on episode 122 of Software Engineering Radio. The episode is titled "The History of JUnit and the Future of Testing with Kent Beck", and is from Sept 26, 2010.

http://www.se-radio.net/2010/09/episode-167-the-history-of-junit-and-the-future-of-testing-with-kent-beck/

I urge you to download it and listen to the whole thing. It's a great interview, still relevant, and applicable to testing in any language, including Python.

What I've done in this podcast is take a handful of clips from the interview (with permission from IEEE and SERadio), and discuss the clips and my opinions a bit.

The lessons are:

  1. You're tests should tell a story.
  2. Be careful of DRY, inheritance, and other software development practices that might get in the way of keeping your tests easy to understand.
  3. All test should help differentiate good programs from bad programs and not be redundant.
  4. Test at multiple levels and multiple scales where it makes sense.
  5. Differentiating between TDD, BDD, ATDD, etc. isn't as important as testing your software to learn about it. Who cares what you call it.

Det här avsnittet är hämtat från ett öppet RSS-flöde och publiceras inte av Podme. Det kan innehålla reklam.

Avsnitt(237)

238: So Long, and Thanks for All the Fish

238: So Long, and Thanks for All the Fish

A farewell to a fun 10 years.Also, I should have tested it better. :)In the audio I got the numbers wrong.  Doh!This is episode 238, not 237. Oh well.I'll still be around, of course, at:pythontest.com...

15 Aug 20252min

237: FastAPI Cloud - Sebastián Ramírez

237: FastAPI Cloud - Sebastián Ramírez

In this episode, Brian interviews Sebastián Ramírez, creator of FastAPI, about its rapid rise in developer popularity and the launch of FastAPI Cloud. Sebastian explains how FastAPI Cloud addresses de...

11 Aug 202536min

236: Git Tips for Testing - Adam Johnson

236: Git Tips for Testing - Adam Johnson

In this episode, host Brian Okken and guest Adam Johnson explore essential Git features, highlighted by Adam's updated book, "Boost Your Git DX." Key topics include "cherry picking" for selective comm...

30 Juli 202519min

235: pytest-django - Adam Johnson

235: pytest-django - Adam Johnson

In this episode, special guest Adam Johnson joins the show and examines pytest-django, a popular plugin among Django developers. He highlights its advantages over the built-in unittest framework, incl...

22 Juli 202519min

234: pytest-metadata - provides access to test session metadata

234: pytest-metadata - provides access to test session metadata

pytest-metadata is described as a plugin for pytest that provides access to test session metadata. That is such a humble description for such a massively useful plugin. If you're already using pytest-...

8 Maj 20256min

233: pytest-check - allow multiple failures per test

233: pytest-check - allow multiple failures per test

pytest-check is a pytest plugin that allows multiple failures per test.Normally, a test function will fail and stop running with the first failed assert. That's totally fine for tons of kinds of softw...

2 Maj 20258min

232: The role of AI in software testing - Anthony Shaw

232: The role of AI in software testing - Anthony Shaw

AI is helping people write code.  Tests are one of those things that some people don't like to write.   Can AI play a role in creating automated software tests?  Well, yes. But it's a nuanced yes.  An...

25 Apr 202556min

231: pytest-repeat - works fine on Python 3.14

231: pytest-repeat - works fine on Python 3.14

pytest-repeat is a pytest plugin that makes it easy to repeat a single test, or multiple tests, a specific number of times.  works fine on Python 3.14is tested on Python 3.9-3.14probably works fine st...

10 Apr 20257min

Populärt inom Utbildning

historiepodden-se
rss-bara-en-till-om-missbruk-medberoende-2
det-skaver
nu-blir-det-historia
allt-du-velat-veta
harrisons-dramatiska-historia
johannes-hansen-podcast
not-fanny-anymore
rss-viktmedicinpodden
roda-vita-rosen
i-vantan-pa-katastrofen
rikatillsammans-om-privatekonomi-rikedom-i-livet
sa-in-i-sjalen
sektledare
rss-max-tant-med-max-villman
rss-autismandan
rss-traningsklubben
rss-i-skenet-av-blaljus
rss-basta-livet
sex-pa-riktigt-med-marika-smith