test_core 0.2.6

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 96

test_core #

This is a a minimal package for writing and running tests. It also contains extensions for implementing a custom test runner. At this time this package is not intended to be publicly used as the API will take time to stabilize.

0.2.6 #

  • Internal cleanup - fix lints.
  • Use the latest test_api.

0.2.5 #

  • Fix an issue where non-completed tests were considered passing.
  • Updated compact and expanded reporters to display non-completed tests.

0.2.4 #

  • Avoid dart:isolate imports on code loaded in tests.
  • Expose the parseMetadata function publicly through a new backend.dart import, as well as re-exporting package:test_api/backend.dart.

0.2.3 #

  • Switch import for IsolateChannel for forwards compatibility with 2.0.0.

0.2.2 #

  • Allow analyzer version 0.36.x.
  • Update to matcher version 0.12.5.

0.2.1+1 #

  • Allow analyzer version 0.35.x.

0.2.1 #

  • Require Dart SDK >=2.1.0.
  • Require latest test_api.

0.2.0 #

  • Remove remote_listener.dart and suite_channel_manager.dart from runner and depend on them from test_api.

0.1.0 #

  • Initial release of test_core. Provides the basic API for writing and running tests on the VM.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  test_core: ^0.2.6

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:test_core/test_core.dart';
  
Version Uploaded Documentation Archive
0.2.6 Jun 3, 2019 Go to the documentation of test_core 0.2.6 Download test_core 0.2.6 archive
0.2.5 Apr 30, 2019 Go to the documentation of test_core 0.2.5 Download test_core 0.2.5 archive
0.2.4 Apr 9, 2019 Go to the documentation of test_core 0.2.4 Download test_core 0.2.4 archive
0.2.3 Mar 27, 2019 Go to the documentation of test_core 0.2.3 Download test_core 0.2.3 archive
0.2.2 Mar 25, 2019 Go to the documentation of test_core 0.2.2 Download test_core 0.2.2 archive
0.2.1+1 Jan 30, 2019 Go to the documentation of test_core 0.2.1+1 Download test_core 0.2.1+1 archive
0.2.1 Jan 18, 2019 Go to the documentation of test_core 0.2.1 Download test_core 0.2.1 archive
0.2.0+1 Nov 30, 2018 Go to the documentation of test_core 0.2.0+1 Download test_core 0.2.0+1 archive
0.2.0 Nov 5, 2018 Go to the documentation of test_core 0.2.0 Download test_core 0.2.0 archive
0.1.0 Nov 3, 2018 Go to the documentation of test_core 0.1.0 Download test_core 0.1.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
96
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
96
Learn more about scoring.

We analyzed this package on Jun 19, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.3.2
  • pana: 0.12.18

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:test_core/test_core.dart.

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and test_core.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
analyzer ^0.36.0 0.36.3
args ^1.4.0 1.5.2
async ^2.0.0 2.2.0
boolean_selector ^1.0.0 1.0.5
collection ^1.8.0 1.14.11
glob ^1.0.0 1.1.7
io ^0.3.0 0.3.3
matcher >=0.12.5 <0.12.6 0.12.5
meta ^1.1.5 1.1.7
package_resolver ^1.0.0 1.0.10
path ^1.2.0 1.6.2
pedantic ^1.0.0 1.7.0
pool ^1.3.0 1.4.0
pub_semver ^1.0.0 1.4.2
source_map_stack_trace ^1.1.4 1.1.5
source_maps ^0.10.2 0.10.8
source_span ^1.4.0 1.5.5
stack_trace ^1.9.0 1.9.3
stream_channel >=1.7.0 <3.0.0 2.0.0
test_api 0.2.6 0.2.6
vm_service_client ^0.2.3 0.2.6+2
yaml ^2.0.0 2.1.16
Transitive dependencies
charcode 1.1.2
convert 2.1.1
crypto 2.0.6
csslib 0.16.0
front_end 0.1.18
html 0.14.0+2
http 0.12.0+2
http_parser 3.1.3
json_rpc_2 2.1.0
kernel 0.3.18
package_config 1.0.5
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6
watcher 0.9.7+10
web_socket_channel 1.0.13