dart-sdk/tests
2017-05-02 15:57:18 +02:00
..
_chrome
benchmark_smoke Dart SDK Spelling b, c, and d. 2017-05-01 08:28:10 +02:00
co19 Mark tests as flaky. 2017-05-02 15:57:18 +02:00
compiler dart2js: rewrite_async: Don't call JavaScript factory constructor with 'new' 2017-05-01 16:51:02 -07:00
corelib Make json-maps implement Map<String, dynamic>. 2017-05-02 14:51:32 +02:00
corelib_strong Dart SDK Spelling b, c, and d. 2017-05-01 08:28:10 +02:00
html Dart SDK Spelling b, c, and d. 2017-05-01 08:28:10 +02:00
isolate Dart SDK Spelling b, c, and d. 2017-05-01 08:28:10 +02:00
kernel
language Dart SDK Spelling b, c, and d. 2017-05-01 08:28:10 +02:00
language_strong add a test for #28079, dynamic calls to generic functions and other RTTI 2017-05-01 16:26:33 -07:00
lib Change Future.doWhile to use a loop for non-future results instead of recursion. 2017-05-02 12:56:55 +02:00
lib_strong Dart SDK Spelling b, c, and d. 2017-05-01 08:28:10 +02:00
standalone Mark tests as flaky. 2017-05-02 15:57:18 +02:00
utils
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.