dart-sdk/tests
Aske Simon Christensen 309baedc72 Mark some frequently flaky co19 dart2js tests.
Change-Id: Ia30d9e7b3ffc4ebf83c0d9fc9e16c687f615b0f1
Reviewed-on: https://dart-review.googlesource.com/60260
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Aske Simon Christensen <askesc@google.com>
2018-06-15 08:16:04 +00:00
..
angular
co19 Mark some frequently flaky co19 dart2js tests. 2018-06-15 08:16:04 +00:00
co19_2 Better test error handler argument types. 2018-06-01 12:26:37 +00:00
compiler Remove pub_build_validity test 2018-06-14 22:57:35 +00:00
corelib Make dart2js only run with 64 bit ints, not the larger ints from the vm. 2018-05-30 17:21:49 +00:00
corelib_2 [Tests] Adjust status for slow bigint test with simulated architectures. 2018-06-12 19:06:37 +00:00
dart
html - Removed custom handling of fill - it was wrong the method is now overloaded. 2018-06-15 02:25:13 +00:00
isolate First pass at disabling packages/ dir, packageRoot 2018-06-12 19:38:40 +00:00
kernel [vm] Prepare status for app_jitk builders (#33126) 2018-05-29 11:43:25 +00:00
language Parse name of factory as method name instead of constructor reference. 2018-06-11 09:55:24 +00:00
language_2 Error when a file is a part of more than one library 2018-06-13 12:55:20 +00:00
lib Reapply "Make --sync-async the default for the VM." 2018-06-06 14:32:13 +00:00
lib_2 - Removed custom handling of fill - it was wrong the method is now overloaded. 2018-06-15 02:25:13 +00:00
search
standalone First pass at disabling packages/ dir, packageRoot 2018-06-12 19:38:40 +00:00
standalone_2 [vm] Replace most runtime/vm uses of OS::Print with OS::PrintErr. 2018-06-13 19:51:40 +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.