Lightlines
By dart-lang

dart-generate-test-mocks

dart-lang16.7k installs

Test your Dart services without real API calls.

What it does

Creates generated mocks and unit tests for Dart classes that depend on external services.

When to use it

Use when unit testing classes that depend on complex external services such as APIs or databases.

How to use it

Give it a Dart project needing mocked unit tests; it generates mock classes, writes tests, and runs the test suite.

What you provide

  • An existing project

Latest review

What you need · 1

Requires the Dart runtime to generate mock classes and run the test suite; no version is specified.


Access · 0

No additional actions listed.