Flaky Test Hunting with Coding Agents in Mobile CI
Make a green build mean something again: find flaky iOS and Android tests from CI history, quarantine them safely and let agents fix causes instead of adding retries
- Format
- Workshop
- Duration
- Half day (3.5 h)
- Delivery
- Live online
- Group size
- 4–10 people
- Level
- Advanced
- Workshops & trainings since 2014
- German or English
- Agenda tailored to your team
- Non-binding request
Tests that fail at random have taught your team to rerun pipelines until they turn green, and real bugs now slip through between the noise. After this half-day workshop flaky tests are identified from CI history, quarantined without disappearing from view and handed to a coding agent with their history, logs and code. The agent classifies the cause – timing, shared state, test order or a genuine race condition in the app – and proposes a targeted fix. Review rules then block the patterns that create flakiness, such as sleeps and order-dependent tests.
Who the flaky test workshop is for
Mobile developers and platform engineers whose CI is slowed down by tests that fail randomly and get rerun until green.
What you'll walk away with
- Collect and analyse test results across CI runs
- Identify flaky tests with simple statistics
- Quarantine flaky tests without losing visibility
- Let agents classify causes and propose targeted fixes
- Prevent new flakiness with review rules
When the flaky test workshop pays off
-
Every third pipeline run fails on a different UI test, and developers have stopped reading the failures.
-
A suspected flaky test turned out to hide a real race condition that reached production.
-
A team wants a weekly report of flaky tests with owners instead of an ever-growing retry list.
Is the flaky test workshop right for your team?
Pick proposed dates and tell us briefly about your team – non-binding, reply within one business day.
What the flaky test workshop covers
-
Module 1: Data collection
JUnit and xcresult reports stored per run and combined into a history the agent can read.
-
Module 2: Detection
Flip rates and failure patterns that separate flaky tests from genuinely broken ones.
-
Module 3: Quarantine
Tagging, separate jobs and dashboards so quarantined tests stay visible and owned.
-
Module 4: Agent diagnosis
A prompt that gives the agent history, logs and code and asks for a classified root cause.
-
Module 5: Fixes and prevention
Reviewing agent fixes and adding rules that block sleeps, shared state and order dependence.
-
Module 6: Making it routine
A weekly flaky test review with owners, a simple dashboard and a rule that quarantined tests are fixed or deleted within an agreed time.
Prerequisites
- A CI pipeline with automated mobile tests
- Access to test reports from recent runs
- Claude Code installed
Materials you keep
- A flaky test report for your suite
- A quarantine process
- A diagnosis prompt and prevention rules
Tools covered
- Claude Code
- GitHub Actions
- XCTest
- JUnit
- Maestro
Rather have it done than learn it? Our AI Code Engineers also handle CI/CD, signing and submission as a service: iOS App Store submission service · Google Play submission service
Why train with us
- We have offered workshops and trainings since 2014. The topics have moved with the technology – today our focus is agentic coding and prompt engineering for app teams.
- Hands-on with realistic examples from app projects – or with your own code, prompts and store listings on request.
- Live online, on-site or hybrid, in German or English – your trainers are AI Code Engineers of jocapps GmbH.
- jocapps GmbH is certified to ISO/IEC 27001 (information security) and ISO 9001 (quality).
Request dates for the flaky test workshop
Pick one or more dates that suit you. We confirm within one business day and send an agenda tailored to your team. Non-binding.
How it works
-
Request with your preferred dates
Pick the proposed dates that suit you, or name your own, and send the non-binding request.
-
Short call
We get back to you within one business day and talk briefly about your goals, prior knowledge and your team's tools.
-
Agenda for your team
You receive an agenda tailored to your team, stack and examples, and we confirm the date.
-
Workshop and materials
Your team works hands-on with AI Code Engineers of jocapps GmbH and keeps all materials.
Questions about the flaky test workshop
Are retries always bad?
A single retry can be a pragmatic safety net. The problem starts when retries replace investigation. We keep them visible and limited.
Can flaky tests reveal real bugs?
Yes, often race conditions in the app itself. The agent's classification explicitly considers that possibility.
Does this work with Flutter or React Native tests?
Yes, as long as results are available in a standard report format.
Is the course held online or on-site, and in which language?
Both work: live online via video call or on-site at your office. Remote sessions work anywhere; on-site we come to you across Germany, Austria and Switzerland, other locations on request. The course runs in German or English – whichever your team works in; mixed teams are fine.
Can you adapt the course to our codebase and tools?
Yes. In the agenda call we look at your stack, your tools and your current release process. We then swap examples and exercises for tasks from your own repository where your security rules allow it, and weight the modules by your goals.
Independent training offer by jocapps GmbH, not affiliated with or endorsed by Apple, Google, Anthropic, OpenAI or any other company mentioned; all trademarks belong to their owners. Tools and store policies change quickly – the course always works with the current state.