dart-sdk/tests
2014-10-02 15:48:21 +00:00
..
_chrome using unittest via package import 2014-04-09 19:42:11 +00:00
benchmark_smoke using unittest via package import 2014-04-09 19:42:11 +00:00
co19 Update status for dartium flaky co19 tests. 2014-10-02 12:05:22 +00:00
compiler Rename Constant to ConstantValue and ConstExp to ConstantExpression. 2014-10-01 08:27:35 +00:00
corelib Don't crash when generating error messages with malformed strings. 2014-10-01 00:49:36 +00:00
html Update co19 status for co19 roll to r786. 2014-10-01 13:42:22 +00:00
isolate Per isolate package root. 2014-09-23 05:46:14 +00:00
language New analyzer snapshot. 2014-10-02 04:13:16 +00:00
lib Don't crash when generating error messages with malformed strings. 2014-10-01 00:49:36 +00:00
standalone Use less data for regression_21160_test to eliminate simulator timeouts 2014-09-30 15:42:22 +00:00
try Forget closure class maps. 2014-10-02 15:48:21 +00:00
utils Roll v8 deps to version 3.26.31.10 2014-07-08 12:34:55 +00:00
light_unittest.dart Upgrading tests with unittest deprecations 2014-03-31 18:33:18 +00:00
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.