dart-sdk/tests
Johnni Winther c930c2bb72 Improve coverage of id_equivalence tests
- and readability of error case output of equivalence tests.

Change-Id: I7883544e9d9064db1a30ecd8923de0e80c031567
Reviewed-on: https://dart-review.googlesource.com/47224
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-03-23 10:28:34 +00:00
..
angular
co19 Mark test as flaky 2018-03-21 21:53:06 +00:00
co19_2 Improve for statement errors and recovery 2018-03-15 11:43:13 +00:00
compiler Improve coverage of id_equivalence tests 2018-03-23 10:28:34 +00:00
corelib Prepare corelib.status for flipping on CFE on dart2js 2018-03-02 19:18:49 +00:00
corelib_2 [Corelib, VM runtime] Fix handling of zero operand in Bigint operations (fixes #32465). 2018-03-21 21:44:10 +00:00
dart
html Changed AudioScheduledSourceNode.start to start2. 2018-03-22 13:18:37 +00:00
isolate Round 6 of status updates: remaining issues in d8, safari, ie11, ff (hopefully) 2018-03-14 19:25:29 +00:00
kernel More status preparations to make the CQ clean 2018-03-09 06:47:28 +00:00
language Fix config specific imports to dart.io and dart.mirrors in dart2js 2018-03-23 00:02:54 +00:00
language_2 Fix config specific imports to dart.io and dart.mirrors in dart2js 2018-03-23 00:02:54 +00:00
lib Round 6 of status updates: remaining issues in d8, safari, ie11, ff (hopefully) 2018-03-14 19:25:29 +00:00
lib_2 Changed AudioScheduledSourceNode.start to start2. 2018-03-22 13:18:37 +00:00
search
standalone Update status for $compiler == fasta 2018-03-07 10:32:33 +00:00
standalone_2 Update status for analyzer on Windows after test.py fixes 2018-03-13 12:25:24 +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.