Skip to content

Tests of this package cannot be run using package:test #59

Open
@whesse

Description

@whesse

The tests in this package only run correctly when run as standalone dart programs, such as by:

dart test/db_all_e2e_test.dart

and do not work when run using package test's runner, such as by

pub run test
or
pub run test test/db_all_e2s_test.dart

It would be nice if all packages could be run uniformly with "pub run test". Our package waterfall
has been simplified to do this.

A quick solution would be to make a new test file that used package:test, and ran the existing test or tests in a subprocess, waiting until it finished and reporting its results. Existing test files could be left as is, where package test does not much with with, or renamed so they don't end in _test.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions