dart-sdk/tests
2017-04-17 14:46:55 -07:00
..
_chrome
benchmark_smoke Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01:00
co19 Small steps towards deferred loading. 2017-04-07 12:23:35 +02:00
compiler Remove BackendClasses and JavaScriptBackendClasses. 2017-04-13 17:22:54 -07:00
corelib DBC follow up CL 2017-04-13 07:38:15 -07:00
corelib_strong Issue 29186. Make several top-level variables explicitly 'dynamic'. 2017-04-06 10:57:39 -07:00
html Remove ie10 and opera sections from status files 2017-03-28 16:38:59 +02:00
isolate Small steps towards deferred loading. 2017-04-07 12:23:35 +02:00
kernel Switch -c dartk/dartkp configuration to use fasta. 2017-02-26 20:39:02 +01:00
language Issue 25558. Report an error, but don't crash when AST it too deep. 2017-04-17 14:46:55 -07:00
language_strong fix #29233, final fields can be settable in a mock 2017-04-07 14:12:49 -07:00
lib Mark lib/async/stream_type_test with Pass 2017-04-10 14:18:10 +02:00
lib_strong Fix multitest lines in status files for strong-mode async libs 2017-04-10 11:30:58 +02:00
standalone [dart:io] Adds ProcessInfo.{max,current}Rss. Adds OS::MaxRSS on Fuchsia. 2017-04-17 14:41:40 -07:00
utils Implement various getters on DillMember. 2017-04-06 10:54:48 +02:00
light_unittest.dart
README Remove old java-based analyzer from test scripts and status files 2015-12-17 14:44:57 +01: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 dart2analyzer" test if
the assignment generates a static type warning.