A test runner for Flutter and Dart created by Very Good Ventures πŸ¦„

Overview

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);
  });
}
Comments
  • chore(deps): bump build_verify from 2.0.0 to 3.0.0

    chore(deps): bump build_verify from 2.0.0 to 3.0.0

    Bumps build_verify from 2.0.0 to 3.0.0.

    Changelog

    Sourced from build_verify's changelog.

    3.0.0

    • expectBuildClean is now async. (Returns Future<void> instead of void.)
    • defaultCommand now uses dart run build_runner....
    • Now supports flutter test.
    • Executed commands are now printed to the console.
    • Require Dart 2.12.3.
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies dart 
    opened by dependabot[bot] 1
  • chore(deps): bump mocktail from 0.2.0 to 0.3.0

    chore(deps): bump mocktail from 0.2.0 to 0.3.0

    Bumps mocktail from 0.2.0 to 0.3.0.

    Release notes

    Sourced from mocktail's releases.

    mocktail-image-network-v0.3.0

    • feat: upgrade to mocktail ^0.3.0

    mocktail-v0.3.0

    • BREAKING feat: add support for type argument matching (#66) (@​renancaraujo)
    • feat: improve verifyNoMoreInteractions failure message (#118)
    • docs: improve argument matcher documentation in README (#102)
    • docs: fix typo in _registerMatcher inline docs (#101)
    • docs: minor snippet fixes in README (#94)
    • docs: enhance example to illustrate more use cases

    mocktail-image-network-v0.3.0-dev.1

    • feat: upgrade to mocktail ^0.3.0-dev.1

    mocktail-v0.3.0-dev.1

    • BREAKING feat: add support for type argument matching (#66)
    • docs: minor snippet fixes in README (#94)
    • docs: enhance example to illustrate more use cases
    Commits
    • c4ca18f chore(mocktail): v0.3.0 (#117)
    • 447575a feat(mocktail): improve verifyNoMoreInteractions failure message (#118)
    • 70e915f docs(mocktail): improve argument matcher documentation in README (#102)
    • c9471cb docs: fix typo in _registerMatcher inline docs (#101)
    • 6dcdef0 chore(mocktail_image_network): v0.3.0-dev.1 (#99)
    • ed5aa6a chore(mocktail): v0.3.0-dev.1 (#98)
    • 6db5916 refactor(mocktail): type arg support improvements (#97)
    • eee9d4b refactor(mocktail): resolve analysis warnings (#96)
    • 461be1f feat!: support type arguments (#67)
    • 4614a29 docs: fix expected value in README (#94)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies dart 
    opened by dependabot[bot] 0
  • feat: add dependabot

    feat: add dependabot

    Description

    feat: add dependabot

    Type of Change

    • [x] ✨ New feature (non-breaking change which adds functionality)
    • [ ] πŸ› οΈ Bug fix (non-breaking change which fixes an issue)
    • [ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
    • [ ] 🧹 Code refactor
    • [ ] βœ… Build configuration change
    • [ ] πŸ“ Documentation
    • [ ] πŸ—‘οΈ Chore
    opened by renancaraujo 0
  • ci: use semantic-pull-request workflow

    ci: use semantic-pull-request workflow

    Description

    • ci: use semantic-pull-request workflow

    Type of Change

    • [ ] ✨ New feature (non-breaking change which adds functionality)
    • [ ] πŸ› οΈ Bug fix (non-breaking change which fixes an issue)
    • [ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
    • [ ] 🧹 Code refactor
    • [X] βœ… Build configuration change
    • [ ] πŸ“ Documentation
    • [ ] πŸ—‘οΈ Chore
    opened by felangel 0
  • chore: v0.1.2

    chore: v0.1.2

    Description

    • chore: v0.1.2

    Type of Change

    • [ ] ✨ New feature (non-breaking change which adds functionality)
    • [ ] πŸ› οΈ Bug fix (non-breaking change which fixes an issue)
    • [ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
    • [ ] 🧹 Code refactor
    • [ ] βœ… Build configuration change
    • [ ] πŸ“ Documentation
    • [X] πŸ—‘οΈ Chore
    chore 
    opened by felangel 0
  • feat: add ExitTestEvent to indicate the process has exited

    feat: add ExitTestEvent to indicate the process has exited

    Description

    • feat: add ExitTestEvent to indicate the process has exited

    Type of Change

    • [X] ✨ New feature (non-breaking change which adds functionality)
    • [ ] πŸ› οΈ Bug fix (non-breaking change which fixes an issue)
    • [ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
    • [ ] 🧹 Code refactor
    • [ ] βœ… Build configuration change
    • [ ] πŸ“ Documentation
    • [ ] πŸ—‘οΈ Chore
    enhancement 
    opened by felangel 0
  • chore: v0.1.1

    chore: v0.1.1

    Description

    • chore: v0.1.1

    Type of Change

    • [ ] ✨ New feature (non-breaking change which adds functionality)
    • [ ] πŸ› οΈ Bug fix (non-breaking change which fixes an issue)
    • [ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
    • [ ] 🧹 Code refactor
    • [ ] βœ… Build configuration change
    • [ ] πŸ“ Documentation
    • [X] πŸ—‘οΈ Chore
    chore 
    opened by felangel 0
  • docs: README updates

    docs: README updates

    Description

    • docs: README updates

    Type of Change

    • [ ] ✨ New feature (non-breaking change which adds functionality)
    • [ ] πŸ› οΈ Bug fix (non-breaking change which fixes an issue)
    • [ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
    • [ ] 🧹 Code refactor
    • [ ] βœ… Build configuration change
    • [X] πŸ“ Documentation
    • [ ] πŸ—‘οΈ Chore
    documentation 
    opened by felangel 0
  • feat: add dartTest

    feat: add dartTest

    Description

    • feat: add dartTest

    Type of Change

    • [X] ✨ New feature (non-breaking change which adds functionality)
    • [ ] πŸ› οΈ Bug fix (non-breaking change which fixes an issue)
    • [ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
    • [ ] 🧹 Code refactor
    • [ ] βœ… Build configuration change
    • [ ] πŸ“ Documentation
    • [ ] πŸ—‘οΈ Chore
    enhancement 
    opened by felangel 0
  • feat: add flutterTest

    feat: add flutterTest

    Description

    • feat: add flutterTest

    Type of Change

    • [X] ✨ New feature (non-breaking change which adds functionality)
    • [ ] πŸ› οΈ Bug fix (non-breaking change which fixes an issue)
    • [ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
    • [ ] 🧹 Code refactor
    • [ ] βœ… Build configuration change
    • [ ] πŸ“ Documentation
    • [ ] πŸ—‘οΈ Chore
    enhancement 
    opened by felangel 0
  • feat: export TestEvents

    feat: export TestEvents

    Description

    • feat: export TestEvents
      • https://github.com/dart-lang/test/blob/master/pkgs/test/doc/json_reporter.md#json-reporter-protocol

    Type of Change

    • [X] ✨ New feature (non-breaking change which adds functionality)
    • [ ] πŸ› οΈ Bug fix (non-breaking change which fixes an issue)
    • [ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
    • [ ] 🧹 Code refactor
    • [ ] βœ… Build configuration change
    • [ ] πŸ“ Documentation
    • [ ] πŸ—‘οΈ Chore
    enhancement 
    opened by felangel 0
  • chore(deps): bump build_verify from 2.0.0 to 3.0.1

    chore(deps): bump build_verify from 2.0.0 to 3.0.1

    Bumps build_verify from 2.0.0 to 3.0.1.

    Changelog

    Sourced from build_verify's changelog.

    3.0.1

    • Run git diff only on the current working directory.
    • Require Dart >= 2.17.0

    3.0.0

    • expectBuildClean is now async. (Returns Future<void> instead of void.)
    • defaultCommand now uses dart run build_runner....
    • Now supports flutter test.
    • Executed commands are now printed to the console.
    • Require Dart 2.12.3.
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies dart 
    opened by dependabot[bot] 1
  • chore(deps): bump very_good_analysis from 2.4.0 to 3.1.0

    chore(deps): bump very_good_analysis from 2.4.0 to 3.1.0

    Bumps very_good_analysis from 2.4.0 to 3.1.0.

    Release notes

    Sourced from very_good_analysis's releases.

    v3.1.0

    Thanks to @​lsaudon for the contribution πŸ’™

    v3.0.2

    • fix: remove deprecated invariant_booleans lint
    • fix: deprecate unawaited (use unawaited from dart:async instead).

    v3.0.1

    • feat: use analyzer language modes instead of deprecated strong-mode
      language:
        strict-casts: true
        strict-inference: true
        strict-raw-types: true
      

    v3.0.0

    Changelog

    Sourced from very_good_analysis's changelog.

    3.1.0

    3.0.2

    • fix: remove deprecated invariant_booleans lint
    • fix: deprecate unawaited (use unawaited from dart:async instead).

    3.0.1

    • feat: use analyzer language modes instead of deprecated strong-mode
      language:
        strict-casts: true
        strict-inference: true
        strict-raw-types: true
      

    3.0.0

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies dart 
    opened by dependabot[bot] 0
Releases(v0.1.2)
Owner
Very Good Open Source
Open source code from Very Good Ventures (@VGVentures)
Very Good Open Source
A very basic prototype of macros using build_runner

Description This is a basic prototype for 3 phase macros using package:build. The general idea is that macros run in 3 different phases, and each phas

Jacob MacDonald 64 Dec 14, 2022
A Flutter app with test

flutter_test_login A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you start

Carlos Alito 8 Nov 1, 2021
For test background service try to run ios

workmanager_example Demonstrates how to use the workmanager plugin. Getting Started This project is a starting point for a Flutter application. A few

Taylan YILDIZ 2 Sep 20, 2021
test code

E-Commerce Complate App - Flutter UI In the first part of our complete e-commerce app, we show you how you can create a nice clean onboarding screen f

null 7 Jun 16, 2022
A Dart build script that downloads the Protobuf compiler and Dart plugin to streamline .proto to .dart compilation.

A Dart build script that downloads the Protobuf compiler and Dart plugin to streamline .proto to .dart compilation.

Julien Scholz 10 Oct 26, 2022
Pensil Teaching App is an education platform created in flutter.

Pensil Teaching App Pensil Teach App is an education platform created specifically for the tutors of the digital age. Pensil Teaching app reduce gap b

Pensil Inc 45 Dec 1, 2022
Simple generative arts created using Flutter

Flutter Generative Art Try it out on DartPad Simple Generative Art created using Flutter. Watch the full video on YouTube to know how to build it from

Souvik Biswas 11 Aug 11, 2022
Flutter implementation of Clean Architecture, inspired on the guidelines created by Uncle Bob.

clean_framework Flutter implementation of Clean Architecture, inspired on the guidelines created by Uncle Bob. see http://www.amazon.com/dp/0134494164

Acme Software 21 Dec 13, 2022
A property search app created using flutter

flutter_property_finder A property listings app built using Flutter sdk. Tutorial Link Watch as i guide you step by step on how to build this applicat

Emmanuel Okiche 68 Dec 13, 2022
Quiver is a set of utility libraries for Dart that makes using many Dart libraries easier and more convenient, or adds additional functionality.

Quiver is a set of utility libraries for Dart that makes using many Dart libraries easier and more convenient, or adds additional functionality.

Google 905 Jan 2, 2023
Dart wrapper via dart:ffi for https://github.com/libusb/libusb

libusb Dart wrapper via dart:ffi for https://github.com/libusb/libusb Environment Windows(10) macOS Linux(Ubuntu 18.04 LTS) Usage Checkout example Fea

Woodemi Co., Ltd 28 Dec 20, 2022
Extensible Dart interpreter for Dart with full interop

dart_eval is an extensible interpreter for the Dart language, written in Dart. It's powered under the hood by the Dart analyzer, so it achieves 100% c

Ethan 169 Dec 28, 2022
The Dart Time Machine is a date and time library for Flutter, Web, and Server with support for timezones, calendars, cultures, formatting and parsing.

The Dart Time Machine is a date and time library for Flutter, Web, and Server with support for timezones, calendars, cultures, formatting and parsing.

null 2 Oct 8, 2021
Library for help you make userbot or bot telegram and support tdlib telegram database and only support nodejs dart and google-apps-script

To-Do telegram client dart βœ…οΈ support multi token ( bot / userbot ) βœ…οΈ support bot and userbot βœ…οΈ support telegram-bot-api local server βœ…οΈ support tel

Azka Full Snack Developer:) 73 Jan 7, 2023
A dart package to help you parse and evaluate infix mathematical expressions into their prefix and postfix notations.

A dart package to help you parse and evaluate infix mathematical expressions into their prefix and postfix notations.

Miguel Manjarres 2 Jan 28, 2022
Args simple - A simple argument parser and handler, integrated with JSON and dart

args_simple A simple argument parser and handler, integrated with JSON and dart:

Graciliano Monteiro Passos 1 Jan 22, 2022
Environment specific config generator for Dart and Flutter applications during CI/CD builds

Environment Config Generator Environment specific config generator. Allows to specify env configuration during CI/CD build. Primarily created to simpl

Denis Beketsky 86 Dec 2, 2022
generate massive amounts of fake data in dart and flutter

generate massive amounts of fake data in Dart & Flutter Faker.dart is a dart port of the famous faker.js package for the web and NodeJS ?? Usage faker

Cas van Luijtelaar 26 Nov 28, 2022
A simple Flutter / Dart Utility class for converting complex objects to uri and query string

A simple Flutter / Dart Utility class for converting complex or nested objects to uri and query strings you can follow the the article on how this cla

Opata Joshua 5 Sep 7, 2022