“testing”
Failure Injection for LLM Calls: Simulating Model Outages Before They Simulate Themselves
Happy-path mocks never catch resilience bugs. Inject timeouts, 5xx, 429s, mid-stream cuts, and malformed JSON into your LLM calls with deterministic failure plans, then assert what recovery actually did.
Flutter Networking with the http Package: Requests, Errors, and Timeouts
A complete, testable networking layer in Flutter with package:http: GET and POST with JSON, base URLs through flavors, timeouts, typed exceptions, cancellation, MockClient tests, and when to move to dio.
Detecting iOS Simulators Reliably in Flutter with is_ios_simulator
Why environment detection matters for biometric, camera, and APNS push notification testing, and how is_ios_simulator simplifies simulator logic.
End-to-End Testing in Flutter: From flutter drive to integration_test Across Platforms
The integration_test package is the modern path for end-to-end Flutter testing, built on flutter_driver. Learn how to write and run integration tests across desktop, Android, iOS, web, and Firebase Test Lab.
Flutter's Test Automation Investment: What the 2026 Roadmap Means for Your CI
Flutter's 2026 roadmap puts test automation behind a fast release cadence. Here's the testing stack you should automate to keep up.
Testing GetX Apps: testMode, Controller Lifecycles, and Workarounds
GetX tests fail for boring reasons: global singletons, a live router, and a lifecycle nobody resets. What Get.testMode actually does, how to drive onInit and onClose, and how to keep CI deterministic.
Flutter Widgetbook and AI Coding Agents: Build a Widget, Catalog It, Review It Visually
How Widgetbook turns Flutter widgets into a catalog of use cases, and how to point an AI coding agent at that catalog so it builds components, writes their stories, and self-corrects through golden and accessibility tests before a human ever looks.
Mocking and Dependency Injection in Flutter Tests
Design Flutter code for constructor injection, pick fakes over mocks where it matters, run mockito codegen, and swap dependencies in Provider or Riverpod tests.
Flutter Unit Testing: A Practical Guide with Examples
From your first test() to mocking dependencies and testing async logic — a hands-on guide to unit testing Flutter and Dart code.
Flutter Widget Testing: Finding, Tapping, and Asserting Your Way to Safer UIs
Core widget testing fundamentals: testWidgets and the WidgetTester lifecycle, pump and pumpAndSettle, finders and matchers, gestures, keys, async pitfalls, and how to structure and run a widget test suite.
Flutter Test Coverage Tools: From `flutter test --coverage` to Actionable Reports
How to generate, read, and act on Flutter test coverage: the --coverage flag, LCOV output, genhtml, test_cov_console, filtering generated files, merging baseline data, and wiring coverage into CI with thresholds and Codecov.
Flutter Integration Testing: Driving Real Apps on Real Devices
A hands-on guide to Flutter integration testing with the integration_test package: writing IntegrationTestWidgetsFlutterBinding tests, running them with flutter test on device and on the web, capturing reports and traces, and deciding what belongs in an integration test versus a widget test.
Chaos Testing Agent Workflows: Breaking Things on Purpose
How to apply chaos engineering to agent workflows — fault injection for model outages, tool failures, and stalls, plus the observability needed to prove resilience.
Testing Bloc State Transitions with blocTest in Flutter
blocTest makes Bloc state machine behavior verifiable. Learn how to assert exact state transition sequences, mock dependencies, and catch regressions in CI.
Riverpod Testing Patterns: Isolated Provider Tests in Flutter
Test Flutter apps with confidence using Riverpod. ProviderContainer.test(), provider overrides, and widget-test patterns that keep dependencies isolated.
Contract Testing Your Agents: Asserting Behavior Before Deployment
Stop asserting on prose. Define the inputs, tool schemas, output shapes, and side effects an agent must honor, then test those contracts deterministically in CI.
Event-Sourcing for Audit Trails with Bloc in Flutter
In fintech and healthcare, "how did the app reach this state?" is a compliance question. Learn how Bloc's event-driven structure doubles as an audit trail, with blocTest and BlocObserver patterns.
Golden Tests in Flutter: Catching Visual Regressions Before They Ship
A practical guide to Flutter golden tests with matchesGoldenFile: generating reference images, running visual regression checks in CI, handling fonts and platform differences, and keeping goldens stable.
Comprehensive Testing Guide for Flutter: Unit, Widget, E2E & Agentic Workflows
A deep dive into unit testing, E2E integration testing, and AI agentic testing workflows in a Flutter Riverpod and Drift codebase.
Test-Driven Agent Development: Writing Evals Before You Build
Learn how to write evaluation-driven agent development tests that catch regressions, validate tool calls, and ensure reliable agent behavior before shipping.
Building a Regression Suite for Your Guardrails
Set up automated regression testing for AI guardrails using pytest and the OpenAI Agents SDK to catch safety regressions before shipping model updates.
Evals for Enterprise Agents: From Unit Tests to Regression Suites
Build comprehensive evaluation suites for enterprise agents. Learn to create unit tests, regression tests, and benchmark suites for multi-step agent reasoning and tool selection.
Give the Agent a Check to Run: The Verification-First Approach
Design workflows where verification is part of the control loop from the start, enabling autonomous agent sessions you can walk away from.
Widget Testing for AI Features in Flutter
A code-centric guide to widget testing AI features in Flutter: mocking LLM clients, driving streaming responses through the widget tree with testWidgets and WidgetTester, and covering loading, streaming, error, and golden states.
Testing Mobile Apps: Unit, Widget, and Integration Tests
Master mobile app testing in Flutter with unit tests, widget tests, and integration tests. Build reliable apps with comprehensive test coverage strategies.
Testing Your Frontend: Vitest, Playwright, and Visual Regressions
A leveled-up frontend test strategy for 2026: unit and component tests in Vitest 4, end-to-end flows in Playwright, and pixel-comparison visual regressions — with a CI-ready workflow.
Evals for Agents: Unit Testing Multi-Step Reasoning
Agents are too expensive to test by eye. Learn how to write evals for multi-step reasoning: checkpoints, tool-call assertions, rubric scoring, and regression gates in CI.
Synthetic Data Generation for Testing and Fine-Tuning
Real data is scarce, private, and expensive to label. Learn how to generate high-quality synthetic data with LLMs — for unit tests, evals, and fine-tuning datasets.
Building an Eval Test Suite for ADK Agents
Move from vibes-based testing to structured evaluation for ADK agents, tracking tool call accuracy, trajectory efficiency, and LLM-as-a-judge quality scoring.
The Art of the Prompt: How to A/B Test Your Prompts in a Live Application
Discover how to systematically improve your LLM applications by implementing A/B testing for prompts in a live environment.
Unit Testing Your Prompts: Strategies for Reliable AI Outputs
Prompts are code. If they are code, they must be tested. Learn how to apply standard unit testing principles to your LLM prompts for reliable AI features.
Using AI for Realistic Data Generation and Augmentation in Your Tests
Improve your software testing strategy by using AI to generate realistic, diverse datasets and augment existing test data.
Stop Writing Boilerplate: Generate Unit Tests Automatically with AI
Unit testing is essential but often tedious. Learn how to use AI to generate comprehensive test suites and edge cases in seconds.
Using the API Server in Google ADK
Learn how to start and use the API server in Google ADK to expose your agents through a REST API for programmatic testing and integration.