dart-sdk/tests
2015-11-04 09:40:40 -08:00
..
_chrome
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 Mark inference_stats_test as slow 2015-11-04 16:29:19 +01:00
corelib Get tools/test.py --noopt green. 2015-10-21 10:35:01 -07:00
html TBR: fix status file for html.status. Only expect test to fail when it is actually run (which requires a browser). 2015-11-04 09:40:40 -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

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.