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

Unified Diff: doc/package_config.md

Issue 1801363007: Add pause_after_load to the config file. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/runner/configuration/load.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: doc/package_config.md
diff --git a/doc/package_config.md b/doc/package_config.md
index 5f169c503d33828484384d29b3c9e9cd9feec75b..974e7ce98269bd8a3ed418d125ae44fb60b52160 100644
--- a/doc/package_config.md
+++ b/doc/package_config.md
@@ -39,6 +39,7 @@ tags:
* [`exclude_tags`](#exclude_tags)
* [`platforms`](#platforms)
* [`concurrency`](#concurrency)
+ * [`pause_after_load`](#pause_after_load)
* [`pub_serve`](#pub_serve)
* [`reporter`](#reporter)
* [Configuring Tags](#configuring-tags)
@@ -283,6 +284,24 @@ If it's set to 1, only one test suite will run at a time.
concurrency: 3
```
+### `pause_after_load`
+
+This field indicates that the test runner should pause for debugging after each
+test suite is loaded but before its tests are executed. If it's set,
+[`concurrency`](#concurrency) is automatically set to 1 and
+[`timeout`](#timeout) is automatically set to `none`.
+
+This is usually used in a [preset](#configuration-presets).
+
+```yaml
+presets:
+ # Pass "-P debug" to enable debugging configuration
+ debug:
+ pause_after_load: true
+ exclude_tags: undebuggable
+ reporter: expanded
+```
+
### `pub_serve`
This field indicates that the test runner should run against a `pub serve`
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/runner/configuration/load.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698