dart-sdk/tests
2017-06-22 18:14:47 +02:00
..
_chrome
benchmark_smoke
co19 Update browser statuses for co19 roll 2017-06-22 18:14:47 +02:00
compiler Add closure_test for kernel based members 2017-06-21 09:52:46 +02:00
corelib Basic support for dev_compiler in test.dart. 2017-06-21 13:19:28 -07:00
corelib_strong Basic support for dev_compiler in test.dart. 2017-06-21 13:19:28 -07:00
html dart gardening: webgl starts working after chrome roll? 2017-06-07 17:50:06 -07:00
isolate Remove MIPS support 2017-06-22 08:49:22 -07:00
kernel
language Remove MIPS support 2017-06-22 08:49:22 -07:00
language_strong Basic support for dev_compiler in test.dart. 2017-06-21 13:19:28 -07:00
lib Update status file for dartk-checked (status files are out-dated due to builder being on FYI) 2017-06-22 15:36:30 +02:00
lib_strong Fix mocked operator methods 2017-06-21 16:54:08 -07:00
standalone Remove MIPS support 2017-06-22 08:49:22 -07:00
utils All strong mode cleaning of dart2js. 2017-06-19 14:06:38 +02:00
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.