dart-sdk/tests
2015-11-17 15:17:04 +01:00
..
_chrome Improve handling of intentionally broken links in test scripts. 2014-11-04 15:00:00 +00:00
benchmark_smoke dart2js cps: Support JS_CURRENT_ISOLATE. 2015-07-07 15:55:13 +02:00
co19 Suppress flaky co19 test on Dartium 2015-11-12 17:48:53 -08:00
compiler Handle prefix as expression in SendSet. 2015-11-17 13:45:13 +01:00
corelib Add "growable" parameter to List.filled constructor. 2015-11-13 09:30:46 +01:00
html Serialize the data argument to History's state-related APIs. 2015-11-05 16:23:44 -08:00
isolate Making bots greener 2015-11-13 09:40:05 -08:00
language Handle prefix as expression in SendSet. 2015-11-17 13:45:13 +01:00
lib Make dart2js code retain the original stack trace for uncaught async errors. 2015-11-17 15:17:04 +01:00
standalone Ensure proper response to chrome client_max_window_bits request. 2015-11-12 17:04:07 +01:00
try Add data-URI support class to dart:core (next to Uri). 2015-11-12 13:02:20 +01:00
utils Introduce "platform configurations" to replace categories and libraries.dart. 2015-11-02 13:02:25 +01: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 dartanalyzer" test if
the assignment generates a static type warning.