dart-sdk/tests
Lasse R.H. Nielsen 74445c9eaf Mark dartkp+dart_precompiled language_2/tearoff_dynamic_test as crashing.
Change-Id: I4bfa3306a52710ca550459a66274273c92286255
Reviewed-on: https://dart-review.googlesource.com/44141
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Kevin Millikin <kmillikin@google.com>
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
2018-02-28 14:34:33 +00:00
..
angular
co19 Make strong mode the default under --preview-dart-2. 2018-02-27 22:16:07 +00:00
co19_2 Update fasta parser listeners to generate additional errors 2018-02-26 19:48:25 +00:00
compiler Add missing methods to List and Map implementations. 2018-02-28 12:26:53 +00:00
corelib Fail if mirrors are really used. 2018-02-27 04:57:27 +00:00
corelib_2 Add missing methods to List and Map implementations. 2018-02-28 12:26:53 +00:00
dart
html Install JS-interop properties on JavaScriptObject 2018-02-23 00:31:52 +00:00
isolate Make strong mode the default under --preview-dart-2. 2018-02-27 22:16:07 +00:00
kernel Fix analyzer bot failures in non-strong mode. 2018-02-28 09:22:13 +00:00
language Fail if mirrors are really used. 2018-02-27 04:57:27 +00:00
language_2 Mark dartkp+dart_precompiled language_2/tearoff_dynamic_test as crashing. 2018-02-28 14:34:33 +00:00
lib Skip 'lib' test directory when running tests in dartk or dartkp mode 2018-02-27 01:35:14 +00:00
lib_2 Add a flag to Procedures indicating that it's a redirecting factory 2018-02-27 10:42:07 +00:00
search
standalone Skip remaining Dart 1.0 tests 2018-02-15 14:14:07 +00:00
standalone_2 Yet another status file update. 2018-02-28 04:51:57 +00: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.