Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Simple Rules for Writing Great Testcases

Devoxx via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover the essential principles for creating effective and reliable test cases in this 52-minute Devoxx conference talk. Learn from experienced developers Steve Poole and Stuart Marks as they share their top ten rules for writing great test cases. Explore the importance of testing, the impact of poor test case design, and how to create a test suite that is both effective and reliable. Gain insights into structuring tests, maintaining test code, and avoiding common pitfalls. Understand why traditional testing principles remain relevant in modern development environments, including cloud and infrastructure-as-code solutions. Benefit from the speakers' extensive experience in Java development, open-source projects, and software engineering to improve your testing practices and ultimately enhance the quality of your applications and products.

Syllabus

Introduction
About Steve Poole
About Stuart Marks
How many people write code
What to say
Why write tests
Make changes
TDD exercise
Rules
Think before you act
Testing and quality
Writing more tests
Make your tests understandable
What happens if your test code is not well maintained
Keep your tests small and simple
Structure your tests
One operation one test scenario
Test cases with 100 assert
Fast test only
Test speed
Feedback loop
Test run fast
Test run long
OpenJDK
Cloud
Independent tests
Dual tests
Test storage
Test line failure
Steves story
No hard coding
Hard coding
No extraneous output
Test logs
Wrapping up
Giveaway

Taught by

Devoxx

Reviews

Start your review of Simple Rules for Writing Great Testcases

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.