dart-sdk/tests
2017-08-04 14:08:27 -07:00
..
co19 Mark another webgl tex-image test flaky 2017-07-31 12:49:35 -07:00
compiler Add crash comments in dart2js_extra and dart2js_native 2017-08-04 13:30:52 -07:00
corelib Update status files to make bots green, minor changes to the script 2017-08-04 14:04:37 -07:00
corelib_2 Update status files to make bots green, minor changes to the script 2017-08-04 14:04:37 -07:00
corelib_strong Migrated test block 12 to Dart 2.0. 2017-08-04 13:34:48 -07:00
html More status fixes 2017-07-28 17:54:33 -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 Update status files to make bots green, minor changes to the script 2017-08-04 14:04:37 -07:00
language_2 Split language_2.status into multiple files. 2017-08-04 11:33:01 -07:00
language_strong fix ddc travis bot 2017-08-04 14:08:27 -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 ddc status for cross_domain_iframe_test 2017-08-03 17:38:24 -07:00
standalone Fix flake in code_collection_test. 2017-08-04 10:52:05 -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

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.