[Simple] Testing Book Recommendations

14 views
Skip to first unread message

Tim Dobson

unread,
Apr 2, 2025, 5:59:08 AMApr 2
to xp-man...@googlegroups.com
Following on from James's great question, I want to hold my hands up to my ignorance in the realm of testing. I am wholly naive and a beginner.

I want to fix this, without going too deep, too fast and getting confused.

What early career primers on testing would be wise for me to read? My stack of choice is node/React.

Thanks in advance,

-Tim

Graham Ashton

unread,
Apr 2, 2025, 6:23:46 AMApr 2
to xp-man...@googlegroups.com
Hi Tim. My first thought when people talk about testing is test-driven development, but there is more to it than that. Is TDD what you've got in mind?

I'll go with TDD, as I've got a suggestion — Kent Beck's Test-Driven Development By Example. The last person I recommended it to said "this is the most enjoyable programming book I've read. Kent is hilarious!"

People often talk about two different approaches to TDD. They're sometimes referred to as "London" and "Detroit", after the groups that popularised each approach. Kent is in the Detroit camp, and consequently many XP'ers are too (myself included).

For a good overview of the differences, I like Martin Fowler's article:

https://www.martinfowler.com/articles/mocksArentStubs.html#SoShouldIBeAClassicistOrAMockist

I linked to the end, but the whole article is quite good. If it's a bit tl;dr (it is long), you could stash it until mock objects come up...

Tim Dobson

unread,
Apr 4, 2025, 3:50:28 AMApr 4
to xp-man...@googlegroups.com
> Kent Beck's Test-Driven Development By Example.

Thank you! I shall take a read.


--
You received this message because you are subscribed to the Google Groups "xp-manchester" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xp-mancheste...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/xp-manchester/bdaf65a3-68d5-4582-ba05-d849ca28b10a%40app.fastmail.com.
Reply all
Reply to author
Forward
0 new messages