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

Unified Diff: README.md

Issue 1073983012: Update the README's "pub serve" section for polymer compatibility. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: README.md
diff --git a/README.md b/README.md
index 9febb609a4745fc8db64a988502fa4989cd610a6..25892a3ea48b9089e6797ffa25c3f0b812c03e17 100644
--- a/README.md
+++ b/README.md
@@ -455,7 +455,20 @@ allows the test runner to load your tests properly:
```yaml
transformers:
- test/pub_serve:
- $include: test/**_test.dart
+ $include: test/**_test{.*,}.dart
+```
+
+Note that if you're using the test runner along with [`polymer`][polymer], you
+have to make sure that the `test/pub_serve` transformer comes *after* the
+`polymer` transformer:
+
+[polymer]: https://www.dartlang.org/polymer/
+
+```yaml
+transformer:
+- polymer
+- test/pub_serve:
+ $include: test/**_test{.*,}.dart
```
Then, start up `pub serve`. Make sure to pay attention to which port it's using
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698