dart-sdk/tests
2017-08-30 09:51:39 -07:00
..
angular Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00
co19 Wholesale update tests status in attempt to make (fyi) dartkp buildbots green. 2017-08-28 18:32:21 -07:00
compiler Prepare for handling super noSuchMethod 2017-08-30 11:51:59 +02:00
corelib Avoid Element-only assertions in generateParameterStubs 2017-08-28 21:23:19 -07:00
corelib_2 Add boxing for modified variables 2017-08-29 16:27:28 -07:00
corelib_strong Migrate test block 11 to Dart 2.0. 2017-08-16 10:16:42 -07:00
dart Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00
html More status fixes 2017-07-28 17:54:33 -07:00
isolate Wholesale update tests status in attempt to make (fyi) dartkp buildbots green. 2017-08-28 18:32:21 -07:00
kernel [VM, Precompiler] Support obfuscation of the symbolic information in precompiler 2017-08-25 09:48:23 +02:00
language Migrate test block 113 to Dart 2.0. 2017-08-30 08:50:16 -07:00
language_2 Migrate test block 113 to Dart 2.0. 2017-08-30 08:50:16 -07:00
language_strong Migrate test block 113 to Dart 2.0. 2017-08-30 08:50:16 -07:00
lib Made helpers strong-mode clean for Dart 2.0 migration. 2017-08-30 09:51:39 -07:00
lib_2 Made helpers strong-mode clean for Dart 2.0 migration. 2017-08-30 09:51:39 -07:00
lib_strong Made helpers strong-mode clean for Dart 2.0 migration. 2017-08-30 09:51:39 -07:00
search Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00
standalone [dart:io] Namespaces for file IO 2017-08-30 09:34:36 -07:00
standalone_2 Migrate first block of tests in standalone to standalone_2 2017-08-01 09:05:01 -07:00
light_unittest.dart Format all tests. 2017-04-17 14:53:02 -07:00
README
zzz Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00

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.