dart-sdk/tests
2017-07-27 10:36:19 +02:00
..
co19 update status files: fixes roll of chrome 60 2017-07-26 15:11:58 -07:00
compiler Whitelist new warnings from using method generics in package:collection 2017-07-26 17:01:37 -07:00
corelib Update checked-in d8 shell to version 6.2.0 2017-07-27 10:36:19 +02:00
corelib_2 Remove references to 'dartium' and 'drt' in status files. 2017-07-26 15:59:38 -07:00
corelib_strong Restore tests/corelib_strong/sort_helper.dart 2017-07-26 14:47:54 +02:00
html update status files: fixes roll of chrome 60 2017-07-26 15:11:58 -07:00
isolate Simplify and fix implicit closure check, speed up Closure_equals, v2 2017-07-24 09:43:52 -07:00
kernel Change how unresolved super sends are handled. 2017-06-29 12:21:49 +02:00
language Remove references to 'dartium' and 'drt' in status files. 2017-07-26 15:59:38 -07:00
language_2 Temporarily skip tests with --use-sdk (at this time, tests are being run in bots that are not building the sdk from scratch) 2017-07-25 13:54:00 -07:00
language_strong Re-triage the DDC test statuses. (#30234) 2017-07-25 15:31:31 -07:00
lib Update checked-in d8 shell to version 6.2.0 2017-07-27 10:36:19 +02:00
lib_2 Re-land beginning Dart 2.0 test migration. 2017-07-17 12:40:18 -07:00
lib_strong Fix getSetterType in presence of metadata 2017-07-23 19:56:06 -07:00
standalone Remove references to 'dartium' and 'drt' in status files. 2017-07-26 15:59:38 -07: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.