dart-sdk/tests
2017-07-07 12:27:48 -04:00
..
_chrome
benchmark_smoke
co19 Add support to dart2js for option --enable-asserts. 2017-07-07 10:59:09 +02:00
compiler Fix dart2js-with-kernel test crashes 2017-07-07 12:01:51 +02:00
corelib Add support to dart2js for option --enable-asserts. 2017-07-07 10:59:09 +02:00
corelib_strong Run dartdevc tests on drt instead of Chrome on the bots. 2017-07-05 09:45:16 -07:00
html
isolate Fix status file expression. 2017-07-03 15:43:01 +02:00
kernel Change how unresolved super sends are handled. 2017-06-29 12:21:49 +02:00
language Add support to dart2js for option --enable-asserts. 2017-07-07 10:59:09 +02:00
language_strong update strong mode test for fasta scanner 2017-07-07 12:27:48 -04:00
lib
lib_strong Run dartdevc tests on drt instead of Chrome on the bots. 2017-07-05 09:45:16 -07:00
standalone Use relative URIs for core library part-of statements. 2017-07-03 10:04:06 +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.