Back to Schedule

Test Smarter, Not More: Finding Bugs Earlier with Diversity-Guided Testing

We have all heard that more testing means better software. But what if running more tests is not always the smartest way to find bugs?

Imagine having thousands of generated tests, several test generators, and only a few minutes to execute. Which tests would you run first: random tests, your favorite generator, or those most likely to explore something new?

This challenge affects compilers, interpreters, DSLs, and structured-input systems, from configuration files to query engines. Generating tests is easier than ever, but choosing which ones to run remains difficult. Many inputs may exhibit similar behavior, but evaluating their effectiveness can be costly. 

In this talk, we explore a simple but powerful idea: what if we prioritize tests by how different they are, rather than how many we can generate?

Building on our ICST 2026 research on diversity-guided generator selection and test prioritization, I will demonstrate SpreadEx, an open-source workbench that brings these findings into practical software testing workflows.

In a hands-on demo, we'll configure a testing campaign, generate and prioritize inputs, and detect and replay failures. We'll also explore regression testing, differential testing, and automation with SpreadEx.

Whether you're a developer, test engineer, or curious about smarter testing, you'll leave with practical ways to prioritize tests under tight budgets—and an open-source tool to try in your own projects. Demo video: https://youtu.be/5-oCDkOGB2Y
Shifat Sahariar
USI Università della Svizzera italiana
Shifat Sahariar is a PhD Researcher at Università della Svizzera italiana (USI), Switzerland, specializing in AI for Software Engineering, intelligent software testing, and software reliability.
His research explores Generative AI, large language models, and advanced testing techniques to improve the reliability of complex software systems.
He is also the creator of SpreadEx, an open-source software testing workbench that connects academic research with practical engineering.
With four years of professional software development experience and research presented at international conferences, including ICST and ASE, he combines scientific expertise with real-world innovation. His broader interests include Agentic AI, AI system architecture, and building trustworthy AI-powered software.