dart-sdk/tests
2016-11-16 13:56:20 +01:00
..
_chrome
benchmark_smoke
co19 VM: Support bootstrapping core libraries from Kernel binaries instead of source. 2016-11-16 13:56:20 +01:00
compiler Fix issue #27830: the type of an super-set assignment expression is the type of 2016-11-15 15:59:24 -08:00
corelib Update more status files for hot reload bots 2016-11-15 07:34:03 -08:00
html Support extending TemplateElement in IE11 + webcomponents-lite.js 2016-11-14 07:32:09 -08:00
isolate Remove static clues from spawn_uri_child_isolate.dart 2016-11-15 13:19:29 +01:00
kernel VM: [Kernel] Ensure we have the correct try-index when translating finally blocks 2016-11-11 20:38:47 +01:00
language VM: Support bootstrapping core libraries from Kernel binaries instead of source. 2016-11-16 13:56:20 +01:00
lib Fix status file typo 2016-11-15 10:42:07 -08:00
standalone Mark more IO tests as failing on Android. 2016-11-15 15:03:51 -08:00
utils Need to skip if runtime is drt. 2016-11-04 10:36:19 -07:00
light_unittest.dart
README

Run Existing Tests
==================

See the output of

  ../tools/test.py --help

for how to run tests.

See also

  https://code.google.com/p/dart/wiki/Building#Testing

for detailed examples.

Create New Tests
================

See comments above

  factory StandardTestSuite.forDirectory

in

  ../tools/testing/dart/test_suite.dart

for the default test directory layout. By default test-file names must
end in "_test.dart", but some test suites, such as ./co19, subclass
StandardTestSuite and override this default.

See comments at the beginning of

  ../tools/testing/dart/multitest.dart

for how to create tests that pass by failing with a known error. For
example,

  ...
  int x = "not an int"; /// 01: static type warning
  ...

as part of a test will only pass the "--compiler dart2analyzer" test if
the assignment generates a static type warning.