v0.5.0
very_good_test_runner
由 Very Good Ventures 創建的用於 Flutter 和 Dart 的測試執行器
23喜歡 29.8萬近 30 天下載160Pub 分數
AndroidiOSmacOSWindowsLinux
由 Very Good Ventures 🦄 創建的用於 Flutter 和 Dart 的測試執行器
以下為英文專案原文快照,最新內容請造訪 GitHub。
Developed with 💙 by Very Good Ventures 🦄
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.
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);
});
}
依賴清單 8 項
^4.9.0^2.2.2^2.8.0^3.1.1^6.11.1^1.0.4^1.25.8>=10.3.0 <12.0.0先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗