he talk aims to highlight the importance of testing, why developers must spend more of their time testing, how testing generates more robust applications and why testing makes developers' lives easier. The talk is based around a live coding demo.
The talk will:

- Explain the difference between tests that prove an application works and tests which aim to break the application logic
- Highlight how test to break principles force developers to introduce logic to handle unexpected behaviour
- Show how test to break principles result in more robust applications as developers write code that can only be used in one way
- Encourage developers to apply test to break principles to all types of tests, including manual tests.


Please login to leave a comment

Rated 4

Dan Ackroyd at 19:37 on 9 Jan 2019

Replace the โ€œ60% of the timeโ€ quote with developers looking for bugs under a streetlight https://en.m.wikipedia.org/wiki/Streetlight_effect

Rated 4

Rob Wilson at 19:50 on 9 Jan 2019

Excellent talk by Rob. Very open to suggestions for his talk (and a few ideas that I will be "borrowing" for my own talks).

Slides were perfect, and Rob didn't fall into the trap of talking from the slides (many talks do that)?

Brave of Rob to do a 'live' demo, he did very well with it, and the only improvement to this is to have it pre-recorded (pretend to type), and then you don't need to worry about typos or possible errors ;)

Rated 4

Lucia Velasco at 19:57 on 9 Jan 2019

I love your subtitle. I'm interested to know what got you on CNN!
I like the big text over big uncluttered images.
I like the analogy of someone who actually tries to break physical cars. V relatable.
I like calls for a round of applause, it's good to see audience engagement.
I like the recognisable format of your test cases.
I'm glad you gave the example of a good fail (airbags) and a bad fail (explodey killy) because I think many people would think that crash = fail and not think into failing gracefully.
I thought that going through the different "facetious" test cases was a bit slow, but then your humorous summary made it perfect. I thought the line "I've done my job, I can go home now" was hilarious!
A bug I had recently that was more unexpected to me and an easy mistake to overlook, was a numerical field that accepted any valid number... Including octals, hex and binary. Test to break caught that...
Thanks for teaching me about assertSame!
Thank you!! I love this subject and the truth is that test to break is really fun to do!

I liked your message. ๐Ÿ‘

I think it would have been good to use data providers in your unit test examples as it would show people that it's easy to create tests with multiple sets of inputs. With your current examples, people may get the impression that you have to copy and paste single-line tests to cover a lot of different scenarios.

Rated 4

Tom Metcalfe at 19:58 on 9 Jan 2019

Enjoyed the talk. Learned a couple of really useful bits about PHPUnit too.

Suggestions for improvement are very minor. I'd go faster over the acceptance criteria slides. No need to read them fully.

Would also have the string concantination ready to copy paste rather than type out. Only as a pacing thing.

Rated 5

James Benson at 20:08 on 9 Jan 2019

Really great talk, good expansion of the subject, and made me laugh. Only suggestion would be to consider showing exception testing within the method as well as in the comment, for consistency with the rest of the tests, and because the content font colour want very readable.

An engaging talk emphasising the importance of good test coverage.

I think the live demo worked well and was smooth enough to keep audience engagement.

Rated 4

Mark Schiller at 22:00 on 9 Jan 2019

Yes enjoyable talk by Rob. It sent me off down a rabbit hole learning about Mutation testing. Wish I had sat nearer the front, will do that next time perhaps. Thanks Rob!

Liked the diverse background bits and use of live coding to illustrate tricky concepts. As someone who already uses and appreciates the value of test, I am not sure this really got to the heart of the problems involved so was left wanting more technical depth.

Good talk, really well organized.
As a suggestion, don't be afraid of waist a bit more of time with the examples (or not use them at all).

I'm ready to break my car!

Rated 5

Jonathan Pugh at 21:52 on 10 Jan 2019

Really enjoyed the talk and definitely agreed with the points made. The pace and delivery were spot on in my view; the courageous live coding demo was very effective.

The only thing I'd add is to give a very brief definition of what a unit test actually is (just a few words rather than a lesson), if somebody hasn't seen one before they might be a bit lost.