Reliable Test Case Generation with AI
Join a practical 2 hours live online workshop that teaches you how to guide LLMs like ChatGPT to write smarter, more effective Ruby tests using proven design techniques.
Objectives
What are the objectives of this workshop?
Many developers are using AI tools like ChatGPT, Cursor, Gemini, or Claude to generate tests. However, these AI-generated tests often prove to be incorrect, superficial, or overlook important aspects of the code. This workshop will help you answer:
Without proper guidance, LLMs tend to make guesses about which tests to create based on patterns and biases, rather than following established testing principles. This workshop will teach you how to move beyond luck and employ test design techniques to refine your prompts, yielding more accurate and reliable test cases from LLMs.
Intended audience
This workshop is designed for developers who are already using or considering using AI tools for test generation.
- The main audience is Ruby developers, Rails engineers, and QA engineers who want to leverage AI tools more effectively.
- If you are already using ChatGPT, Claude, Cursor, or other LLMs to generate tests but find the results inconsistent or superficial, this workshop will teach you how to guide these tools systematically.
- If you are curious about AI-assisted testing but skeptical about the quality, this workshop will show you how to move beyond generic AI outputs to create meaningful, reliable test cases.
- If you want to speed up your testing workflow without sacrificing quality, you'll learn practical prompting techniques that yield better results consistently.
- If you are a team lead or engineering manager looking to standardize AI-assisted testing practices across your team, this workshop provides a repeatable framework that anyone can apply.
- Whether you are curious, skeptical, or already integrating LLMs into your workflow, this workshop will provide insights on how to improve their performance for Ruby and Rails testing.
Learn
What do you learn?
When working with Ruby and Rails code, you will learn how to guide LLMs to:
Prompt LLMs with structured guidance instead of generic requests for "write tests".
Apply test design techniques to create comprehensive prompts that yield reliable results.
Generate high-quality, systematic test cases that cover edge cases and business logic effectively.
Compare outputs from different LLMs and understand how structured prompts improve consistency.
You will learn to incorporate these test design techniques into your AI prompts:

- Equivalence Partitioning guide LLMs to identify groups of similar inputs and generate representative test cases for each partition
- Boundary Value Analysis prompt AI tools to focus on edge cases and boundary conditions that often reveal bugs
- Decision Tables structure prompts to ensure LLMs cover all combinations of boolean conditions in your Ruby code
- State Transition Testing direct AI tools to test all possible state changes and transitions in your Rails applications
You will see real examples from Ruby and Rails code, compare outputs from different LLMs, and leave with practical tips to enhance your AI-assisted testing, making it more systematic, focused, and repeatable.
Key Takeaways
What you'll walk away with
- Better prompts for LLMs like ChatGPT, Claude, or DeepSeek to generate high-quality, meaningful test cases for your Ruby and Rails code.
- Understanding why generic AI-generated tests fail and how test design techniques can address this issue systematically.
- Four essential test design techniques (Boundary Value Analysis, Equivalence Partitioning, Decision Tables, and State Transition Testing) and how to incorporate them into your AI prompts.
- Real Ruby and Rails examples showing these techniques in action, plus comparisons of how different LLMs respond to structured prompts.
- A repeatable process for prompting LLMs to generate effective, systematic, and reliable tests that you can apply immediately to your projects.
Instructor
Why learn with me?
I have been working with Ruby since 2006/2007 and am a certified ISTQB Trainer. Since 2013, I have led testing workshops and training sessions, helping developers bring structure to their testing processes without slowing down their work.
My approach is practical and balanced: I experiment with LLMs in real projects to understand where they add value, where they fall short, and how to guide them effectively—especially in Ruby and Rails environments where speed and clarity are crucial.
This workshop is grounded in my day-to-day experience of helping teams use LLMs to generate tests that are genuinely useful, moving beyond hype to practical, actionable techniques that improve your development workflow.
newsletter
Subscribe
Subscribe to get access to free content and be notified when the next workshop is scheduled.
Usually the workshops are fully booked and it is best to register as early as possible.
FAQ
Frequently asked questions
-
Will this workshop be recorded?
Yes, this workshop will be recorded and available for download to the participants of the workshop. The recording will be accessible in the participants' area on this website where you will get access with the email that you used to register.
-
What programming language do I need to know to attend the workshop?
I will mostly use some English friendly/pseudocode like code samples. If you can read code like this and be able to understand that the valid? method will return true or false based on the account age:
class Validator def initialize(account) @account = account end def valid? return false if @account.age < 18 true end end
Then you can participate to the workshop and understand all examples
-
Are there any prerequisites or software needed?
We will not execute code during the workshop as we are going to focus on understanding the fundamentals of testing and how to write effective tests.
What's more important is to make sure you have Zoom installed and your microhone, audio and video settings working. -
Is prior testing experience required?
There is no prior testing experience required. This workshop will teach you how to design test cases and how to cover requirements or code with efficient and effective tests.
-
Will this workshop teach me TDD?
Test-Driven Development is a development process where you write tests before writing the actual code. In this workshop, we will focus on test design: identifying test conditions, covering business logic or code with tests, and learning how to reduce the number of tests while maintaining high coverage.
-
How long is the workshop, and what is the schedule?
The workshop is 3 hours long with a 15 minutes break approximately in the middle. Each session has a specific starting hour that is presented on the event page.