patrol_log
0.10.2, released 3 weeks ago by leancode.co
Log package for Patrol, a Flutter-native UI testing framework
What it does
Provides logging capabilities specifically designed for the Patrol UI testing framework. It includes data structures and readers/writers for test entries, steps, and configurations.
AI-written summary of version 0.10.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are using the Patrol testing framework for Flutter UI tests
- You need to read, write, or parse Patrol test logs and entries
Skip it when
- You are not using the Patrol testing framework
- You need a general-purpose logging package for application state or network requests
Strengths
- Tailored specifically for Patrol testing workflow
- Supports reading and writing log entries across multiple platforms
Weaknesses
- Not useful outside of the Patrol ecosystem
- Limited documentation on standalone usage beyond Patrol
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 3
Add the package dependency and import patrol_log or patrol_log_reader as needed.
import 'package:patrol_log/patrol_log.dart';Alternatives
Packages that do the same job and could replace patrol_log.
- test
A full featured library for writing and running Dart tests across platforms.
90Compare - bdd_widget_test
Generate Flutter widget tests from Gherkin feature files
88Compare - mockito
A mock framework inspired by Mockito with APIs for Fakes, Mocks, behavior verification, and stubbing.
87Compare - bloc_test
A testing library that makes it easy to test blocs and cubits.
82Compare
Works with
Packages commonly used together with patrol_log: ones it builds on, ones built on it, and its own family.
- json_annotationpatrol_log depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- equatablepatrol_log depends on itProvides value‑based equality for Dart objects without manual == and hashCode.
- dispose_scopepatrol_log depends on itUtility to group and automatically dispose/cancel/close resources in Dart.
- patrol_mcpSame familyAn MCP server enabling AI assistants to control and monitor Patrol tests in Flutter.
- patrol_findersBuilt on patrol_logHigh-level API for widget testing built on top of flutter_test.
- patrolBuilt on patrol_logMultiplatform E2E UI testing framework for Flutter
- patrol_cliBuilt on patrol_logCommand-line tool to run and debug Patrol UI tests on multiple platforms