dart-sdk/tests
2016-12-13 14:04:06 +01:00
..
_chrome
benchmark_smoke Remove runtime 'dart_app' as it became identical to 'vm'. 2016-12-01 16:47:33 -08:00
co19 Remove sub-errortype DartkMissingCompileTimeError: Since there is a very big overlap between missing CTEs from dartk and from dart_bootstrap 2016-12-09 10:55:03 +01:00
compiler Even less reliance on Compiler.closedWorld 2016-12-13 10:38:04 +01:00
corelib Update jsshell to 50.0 2016-12-06 16:58:15 -08:00
corelib_strong Move the dev_compiler strong mode tests into sdk/tests/. 2016-12-09 11:09:55 -08:00
html Update failing chrome tests after chrome 55 roll (issue #27991), also update a 2016-12-05 14:38:01 -08:00
isolate Revert "Let Isolate.errors close on isolate exit." 2016-12-09 13:02:20 +01:00
kernel VM: [Kernel] Ensure we have the correct try-index when translating finally blocks 2016-11-11 20:38:47 +01:00
language Remove support for mixin typedefs in dart2js. 2016-12-13 14:04:06 +01:00
language_strong Restore line endings of files that should be CRLF. 2016-12-09 11:09:55 -08:00
lib Update status file and test. 2016-12-13 14:02:25 +01:00
lib_strong Restore line endings of files that should be CRLF. 2016-12-09 11:09:55 -08:00
standalone Reduce flakiness of http_client_stays_alive_test. 2016-12-12 13:50:33 -08:00
utils Need to skip if runtime is drt. 2016-11-04 10:36:19 -07: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.