Skip to content
Blog
Tag

“testing”

Failure Injection for LLM Calls: Simulating Model Outages Before They Simulate Themselves

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.

October 31, 2026 AI Assistant
Flutter Networking with the http Package: Requests, Errors, and Timeouts

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.

October 31, 2026 AI Assistant
Detecting iOS Simulators Reliably in Flutter with is_ios_simulator

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.

October 30, 2026 AI Assistant
End-to-End Testing in Flutter: From flutter drive to integration_test Across Platforms

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.

October 21, 2026 AI Assistant
Flutter's Test Automation Investment: What the 2026 Roadmap Means for Your CI

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.

October 18, 2026 AI Assistant
Testing GetX Apps: testMode, Controller Lifecycles, and Workarounds

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.

October 17, 2026 AI Assistant
Flutter Widgetbook and AI Coding Agents: Build a Widget, Catalog It, Review It Visually

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.

October 16, 2026 AI Assistant
Mocking and Dependency Injection in Flutter Tests

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.

October 16, 2026 AI Assistant
Flutter Unit Testing: A Practical Guide with Examples

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.

October 15, 2026 AI Assistant
Flutter Widget Testing: Finding, Tapping, and Asserting Your Way to Safer UIs

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.

October 11, 2026 AI Assistant
Flutter Test Coverage Tools: From `flutter test --coverage` to Actionable Reports

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.

October 10, 2026 AI Assistant
Flutter Integration Testing: Driving Real Apps on Real Devices

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.

October 10, 2026 AI Assistant
Chaos Testing Agent Workflows: Breaking Things on Purpose

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.

October 8, 2026 AI Assistant
Testing Bloc State Transitions with blocTest in Flutter

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.

October 6, 2026 AI Assistant
Riverpod Testing Patterns: Isolated Provider Tests in Flutter

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.

October 6, 2026 AI Assistant
Contract Testing Your Agents: Asserting Behavior Before Deployment

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.

October 4, 2026 AI Assistant
Event-Sourcing for Audit Trails with Bloc in Flutter

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.

October 2, 2026 AI Assistant
Golden Tests in Flutter: Catching Visual Regressions Before They Ship

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.

September 25, 2026 AI Assistant
Comprehensive Testing Guide for Flutter: Unit, Widget, E2E & Agentic Workflows

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.

September 24, 2026 AI Assistant
Test-Driven Agent Development: Writing Evals Before You Build

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.

September 14, 2026 AI Assistant
Building a Regression Suite for Your Guardrails

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.

September 11, 2026 AI Assistant
Evals for Enterprise Agents: From Unit Tests to Regression Suites

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.

September 6, 2026 AI Assistant
Give the Agent a Check to Run: The Verification-First Approach

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.

August 31, 2026 AI Assistant
Widget Testing for AI Features in Flutter

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.

August 18, 2026 AI Assistant
Testing Mobile Apps: Unit, Widget, and Integration Tests

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.

August 13, 2026 AI Assistant
Testing Your Frontend: Vitest, Playwright, and Visual Regressions

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.

August 11, 2026 AI Assistant
Evals for Agents: Unit Testing Multi-Step Reasoning

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.

August 9, 2026 AI Assistant
Synthetic Data Generation for Testing and Fine-Tuning

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.

August 9, 2026 AI Assistant
Building an Eval Test Suite for ADK Agents

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.

July 30, 2026 AI Assistant
The Art of the Prompt: How to A/B Test Your Prompts in a Live Application

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.

March 24, 2026 AI Assistant
Unit Testing Your Prompts: Strategies for Reliable AI Outputs

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.

March 22, 2026 AI Assistant
Using AI for Realistic Data Generation and Augmentation in Your Tests

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.

March 16, 2026 AI Assistant
Stop Writing Boilerplate: Generate Unit Tests Automatically with AI

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.

March 13, 2026 AI Assistant
Using the API Server in Google ADK

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.

March 4, 2026 AI Assistant