FLUTTER ECOSYSTEM

VeryGoodOpenSource/very_good_test_runner

Very Good Ventures 🦄 によって作成された、Flutter および Dart のためのテストランナー

very_good_test_runner のプロジェクト画像
Stars
20
Forks
2
最終プッシュ(UTC)
2026/09/08
プロジェクト状態
公開中
Very Good Open Source GitHub avatar
GITHUB Organization

Very Good Open Source ↗

Open source code from Very Good Ventures (@VGVentures)

言語DartShell

技術トピック

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 8 件

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

Very Good Test Runner

Very Good Ventures Very Good Ventures

Developed with 💙 by Very Good Ventures 🦄

ci coverage pub package style: very good analysis License: MIT

This package is a test runner for Flutter and Dart created by Very Good Ventures. It is intended to be used when writing custom tooling that runs Flutter or Dart tests and exposes a stream of TestEvent instances. For more information about the various TestEvent types, refer to the JSON Reporter Test Protocol.

Usage

import 'package:very_good_test_runner/very_good_test_runner.dart';

void main() {
  const arguments = ['--coverage'];
  const workingDirectory = 'path/to/project';

  // Run `dart test` process.
  dartTest(
    arguments: arguments,
    workingDirectory: workingDirectory,
  ).listen((TestEvent event) {
    // React to `TestEvent` instances.
    print(event);
  });

  // Run `flutter test` process.
  flutterTest(
    arguments: arguments,
    workingDirectory: workingDirectory,
  ).listen((TestEvent event) {
    // React to `TestEvent` instances.
    print(event);
  });
}