dart-sdk/tests
2017-08-07 13:37:15 +02:00
..
co19 Mark another webgl tex-image test flaky 2017-07-31 12:49:35 -07:00
compiler Redo "Work-around for missing mixin-application charOffset" 2017-08-04 15:35:38 -07:00
corelib Update status files to make bots green, minor changes to the script 2017-08-04 14:04:37 -07:00
corelib_2 Updated status file to fix failures on the vm-kernel bots caused by migration of test block 13. 2017-08-04 17:31:12 -07:00
corelib_strong Migrated test block 12 to Dart 2.0. 2017-08-04 13:34:48 -07:00
html More status fixes 2017-07-28 17:54:33 -07:00
isolate
kernel
language Remove three tests that were migrated to language_2 already. 2017-08-04 17:19:54 -07:00
language_2 Fix analyzer status for cast_test. 2017-08-04 18:37:18 -07:00
language_strong Update status for dartdevc on Windows. 2017-08-07 13:37:15 +02:00
lib Update checked-in d8 shell to version 6.2.0 2017-07-27 10:36:19 +02:00
lib_2
lib_strong Update status for dartdevc on Windows. 2017-08-07 13:37:15 +02:00
standalone Fix flake in code_collection_test. 2017-08-04 10:52:05 -07:00
standalone_2 Migrate first block of tests in standalone to standalone_2 2017-08-01 09:05:01 -07:00
light_unittest.dart
README

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.