test_rocket 0.0.10 copy "test_rocket: ^0.0.10" to clipboard
test_rocket: ^0.0.10 copied to clipboard

A command line tool to execute your dart tests at blazingly fast speed. Experience ~80% reduction in runtime.

Accelerate your Flutter test suites with lightning speed! ⚡

Tests with testRocket Tests with testRocket 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

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.

6
likes
0
points
1.22k
downloads

Publisher

unverified uploader

Weekly Downloads

A command line tool to execute your dart tests at blazingly fast speed. Experience ~80% reduction in runtime.

License

unknown (license)

Dependencies

args, path

More

Packages that depend on test_rocket