0 purchases
test rocket
Accelerate your Flutter test suite with lightning speed! ⚡ #
Sample : 4600 tests running in ~1 min...
Features #
Dramatically speeds up test execution: By bundling tests into a single file, testRocket
significantly reduces the overall runtime of your test suite.
Simplifies test organization: Automatically collects and consolidates tests from across your
project, eliminating the need for manual test management.
User-friendly command-line interface: Interact with the tool using intuitive commands designed
for clarity and ease of use.
Upcoming: Support for test run with coverage
Installation #
Activate the testRocket command line tool using this command:
dart pub globabl activate testRocket
copied to clipboard
Usage #
Core Commands #
testRocket bundle: Creates the bundled test file.
testRocket run: Executes the bundled tests.
Some tests are failing. Why?! #
Test failure with testRocket expose vulnerabilities in the test suite.
If tests are passing with the regular flutter run but fail in the testRocket run, then there
is a good chance the tests are not truly isolated.
Hence, the tests might be sharing some resource in the test environment, eg; a shared service locator, a ViewBinding, etc.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.