Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(672)

Side by Side Diff: test/runner/runner_test.dart

Issue 1782473005: Add support for configuration presets. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/runner/configuration/tags_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 @TestOn("vm") 5 @TestOn("vm")
6 6
7 import 'dart:io'; 7 import 'dart:io';
8 import 'dart:math' as math; 8 import 'dart:math' as math;
9 9
10 import 'package:scheduled_test/descriptor.dart' as d; 10 import 'package:scheduled_test/descriptor.dart' as d;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 -t, --tags Run only tests with all of the specified tags. 55 -t, --tags Run only tests with all of the specified tags.
56 Supports boolean selector syntax. 56 Supports boolean selector syntax.
57 57
58 -x, --exclude-tags Don't run tests with any of the specified tags. 58 -x, --exclude-tags Don't run tests with any of the specified tags.
59 Supports boolean selector syntax. 59 Supports boolean selector syntax.
60 60
61 ======== Running Tests 61 ======== Running Tests
62 -p, --platform The platform(s) on which to run the tests. 62 -p, --platform The platform(s) on which to run the tests.
63 $_browsers 63 $_browsers
64 64
65 -P, --preset The configuration preset(s) to use.
65 -j, --concurrency=<threads> The number of concurrent test suites run. 66 -j, --concurrency=<threads> The number of concurrent test suites run.
66 (defaults to "$_defaultConcurrency") 67 (defaults to "$_defaultConcurrency")
67 68
68 --pub-serve=<port> The port of a pub serve instance serving "test/". 69 --pub-serve=<port> The port of a pub serve instance serving "test/".
69 --timeout The default test timeout. For example: 15s, 2x, n one 70 --timeout The default test timeout. For example: 15s, 2x, n one
70 (defaults to "30s") 71 (defaults to "30s")
71 72
72 --pause-after-load Pauses for debugging before any tests execute. 73 --pause-after-load Pauses for debugging before any tests execute.
73 Implies --concurrency=1 and --timeout=none. 74 Implies --concurrency=1 and --timeout=none.
74 Currently only supported for browser tests. 75 Currently only supported for browser tests.
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 d.file("test.dart", _success).create(); 666 d.file("test.dart", _success).create();
666 667
667 var test = runTest(["--plain-name", "no match", "test.dart"]); 668 var test = runTest(["--plain-name", "no match", "test.dart"]);
668 test.stderr.expect( 669 test.stderr.expect(
669 consumeThrough(contains('No tests match "no match".'))); 670 consumeThrough(contains('No tests match "no match".')));
670 test.shouldExit(exit_codes.data); 671 test.shouldExit(exit_codes.data);
671 }); 672 });
672 }); 673 });
673 }); 674 });
674 } 675 }
OLDNEW
« no previous file with comments | « test/runner/configuration/tags_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698