dart-sdk/tests
2015-12-08 14:38:27 -08: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 dart2js CPS: Evaluate the arguments to abstract class constructors. 2015-12-08 12:53:01 +01:00
compiler Safety analysis for JS template placeholders. 2015-12-08 13:57:13 -08:00
corelib Add StackTrace.current getter. 2015-11-24 08:26:03 +01:00
html One more suppression and fix incorrect test names in previous CL 2015-12-07 15:14:52 -08:00
isolate Fix a couple more tests related to Isolate.spawn semantics change 2015-11-25 16:28:59 -08:00
language Improve upper bound finalization in VM and fix #25122. 2015-12-08 14:38:27 -08:00
lib dart2js cps: Extend type masks to handle reflective invocations. 2015-11-27 10:48:37 +01:00
standalone Update status for two failing tests 2015-12-07 15:32:04 +01:00
try Change the order the classes are expected to be found by serialize_test 2015-12-07 16:29:26 +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.