dart-sdk/tests
2015-11-05 11:57:50 +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 Update co19 status for Firefox 41 on linux. 2015-11-03 18:21:50 +01:00
compiler Use better names for captured variables in closures. 2015-11-05 11:57:50 +01:00
corelib Get tools/test.py --noopt green. 2015-10-21 10:35:01 -07:00
html Make Dartium JS interop implementation more robust in the presence of JS paths that touch dart:html types. Note that the dart2js implementation was already robust in the presence of dart:html types. 2015-11-04 15:47:46 -08:00
isolate Update status for dartium tests. 2015-11-02 16:19:59 +01:00
language VM: Fix bug with ??= expressions using await. 2015-11-03 21:47:06 +01:00
lib Mark stream_periodic6_test failing on jsshell. 2015-11-04 12:35:03 +01:00
standalone VM: Fix bug with CHA-based inlining in --noopt mode. 2015-11-02 19:48:26 +01:00
try Rename Compiler.runCompiler -> runInternal. 2015-10-29 13:30:29 +01:00
utils Introduce "platform configurations" to replace categories and libraries.dart. 2015-11-02 13:02:25 +01:00
light_unittest.dart
README Add language tests for Issue 18628. 2014-09-03 18:51:25 +00:00

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.