dart-sdk/tests
2016-05-25 10:14:53 -07:00
..
_chrome Improve handling of intentionally broken links in test scripts. 2014-11-04 15:00:00 +00:00
benchmark_smoke Skip tests in cpsir+checked mode until it is implemented 2016-03-09 17:21:49 -08:00
co19 Revert the roll of co19. 2016-05-20 19:32:27 +02:00
compiler accept null type casts in dummy noSuchMethod checks 2016-05-25 10:14:53 -07:00
corelib Make Iterable.toList more efficient if the length is known. 2016-05-23 10:00:19 +02:00
html Revert "TBR. I am not sure this test should have ever passed." 2016-05-17 13:39:29 -07:00
isolate Update status for 2016-05-18 12:54:34 -07:00
language Revert "Fix capturing variables in optimized compilations" 2016-05-25 13:30:24 +02:00
lib ARM/ARM64: Fix smashed CODE_REG in intrinsics with InvokeMathCFunctionInstrs. 2016-05-25 10:02:21 -07:00
standalone Remove timeout status for some tests to check if they pass now. 2016-05-25 17:35:05 +02:00
try fix all instances of "the the" 2016-05-13 12:38:25 -07:00
utils Fix bots. I missed deleting another file. 2016-05-24 13:36:47 -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.