test_rocket
1.2.1, released 14 days ago by letters-app.com
A command-line tool to execute Dart and Flutter tests at high speed.
$ flutter pub add test_rocketWhat it does
Bundles tests into a single file to significantly reduce overall test suite runtime. Provides parallel worker isolate execution, coverage tracking, and test isolation diagnostics.
AI-written summary of version 1.2.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- Your Flutter test suite is large and takes a long time to run
- You want to run tests in parallel using native isolate concurrency
- You need to track code coverage and test trends over time
Skip it when
- Your tests depend heavily on strict sequential execution and are not isolated
- You are not using the command line for running tests
Strengths
- Significant reduction in test runtime via test bundling
- Blazing-fast native parallel execution using isolate sharding
- Integrated test reporting and interactive HTML trend visualization
Weaknesses
- Tests that share state may fail because they are not truly isolated
- Diagnostic doctor command is currently experimental
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 6
Activate globally using dart pub global activate test_rocket.
testRocket run --faster --coverageAlternatives
Packages that do the same job and could replace test_rocket.
Works with
Packages commonly used together with test_rocket: ones it builds on, ones built on it, and its own family.
- yamltest_rocket depends on itA Dart library for parsing YAML documents into Dart data structures.
- argstest_rocket depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.
- very_good_test_runnertest_rocket depends on itA Dart/Flutter test runner that streams TestEvent objects from dart test or flutter test.
- date_time_formattest_rocket depends on itFormat Dart DateTime objects using standard date/time notations or relative time offsets.