dart-sdk/tests
2017-06-30 10:13:40 +02:00
..
_chrome Format all tests. 2017-04-17 14:53:02 -07:00
benchmark_smoke Spelling fixes e to i. 2017-06-24 13:41:39 +02:00
co19 [kernel] Delete most of the AST 2017-06-30 07:55:08 +02:00
compiler Always store GlobalTypeInferenceElementData on the member context 2017-06-30 10:13:40 +02:00
corelib Fix computation of default values for named parameters. 2017-06-26 11:37:17 +02:00
corelib_strong Spelling fixes e to i. 2017-06-24 13:41:39 +02:00
html Spelling fixes e to i. 2017-06-24 13:41:39 +02:00
isolate Remove MIPS support 2017-06-22 08:49:22 -07:00
kernel Change how unresolved super sends are handled. 2017-06-29 12:21:49 +02:00
language [Fuchsia] Fix test image. Update status files for vm and language suites 2017-06-29 07:45:19 -07:00
language_strong fix #29733, handle variables that completely shadow parameters 2017-06-29 10:39:09 -07:00
lib Revert "Make Zone API strong mode clean." 2017-06-28 13:31:32 +02:00
lib_strong Revert "Make Zone API strong mode clean." 2017-06-28 13:31:32 +02:00
standalone [dart:io] Fixes a crash in VM shutdown when signals are watched 2017-06-28 11:05:07 -07:00
utils All strong mode cleaning of dart2js. 2017-06-19 14:06:38 +02:00
light_unittest.dart Format all tests. 2017-04-17 14:53:02 -07:00
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.