dart-sdk/tests
2015-11-05 10:43:15 -08:00
..
_chrome
benchmark_smoke dart2js cps: Support JS_CURRENT_ISOLATE. 2015-07-07 15:55:13 +02:00
co19 Update status for Firefox 42. 2015-11-05 16:14:46 +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 Update status for Firefox 42. 2015-11-05 16:14:46 +01: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 Add test precompiling dart2js. 2015-11-05 10:43:15 -08: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

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.