Many of us have been writing unit tests for years, and they usually pass. But what if we told you that many of those tests might actually be hurting your code instead of helping?
So, what does it really mean for a test to be effective? That’s a great question, and one, most of us have avoided thinking about for a long time. If the answer was simple, we would have shared it by now!
Join Abhijit Sonawane for an interactive session at the upcoming Sahaj Software DevDay in Bangalore, where we’ll take a hard look at your test cases and ask:
Why writing a test case needs a completely different mindset
How applying clean code rules to tests can turn them into unreadable messes (ironic, right?)
Why having one assertion per test is not overkill, unless you enjoy debugging 12 things at once
How test fixtures can be your best friend… until they go rogue and take your suite down with them
How naming your test method like testPositiveCase() has nothing positive in it
What You’ll Take Away
You’ll walk away with a fresh way of looking at your test suite — knowing what’s worth keeping, what needs fixing, and what should probably just be deleted.
You’ll start to see the difference between tests that help you move fast and those that just sit there looking green and lying to you.
You’ll get better at spotting tests that feel off — even if they pass — and learn what to do about them.
You’ll learn why naming, structure, and clarity matter more than clever test setups or strict rules.
And most importantly, you’ll feel more confident making decisions about tests: when to trust them, when to rewrite them, and when to just start fresh.
Who Should Attend
Anyone who’s ever written a test and wants to find out what they might have been doing wrong and how to fix it. A background in Java and some experience in writing test cases will make the session even more relatable.
Agenda
5:30 PM – 6:00 PM → Registrations and Refreshments
6:00 PM – 7:30 PM → Talk
7:30 PM – 8:00 PM → Networking over snacks