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

Unified Diff: appengine/swarming/ui/README.md

Issue 2419613002: Add basic swarming UI tests
Patch Set: Make sure symlink isn't followed for uploading Created 4 years, 2 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 | « appengine/swarming/ui/Makefile ('k') | appengine/swarming/ui/bower.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/ui/README.md
diff --git a/appengine/swarming/ui/README.md b/appengine/swarming/ui/README.md
index 1ca487e22146908e5cfb9c7e4aeb91286d710a36..105fc03160aedb613b9faf35d0adb1b9e1f2af6c 100644
--- a/appengine/swarming/ui/README.md
+++ b/appengine/swarming/ui/README.md
@@ -31,13 +31,29 @@ To access the demo pages on localhost:9050, run
make run
+To run tests, run
+
+ make test
+
+
Prerequisites
=============
-You will need to install node.js, npm, and bower, for example:
+You will need to install recent versions of node.js, npm, bower and (optionally)
+web-component-tester:
sudo apt-get install npm nodejs-legacy
sudo npm install -g bower
+ sudo npm install -g web-component-tester #if you want to run tests
+
+If you see errors like
+
+ /usr/lib/node_modules/web-component-tester/bin/wct:21
+ promise.then(() => process.exit(0), () => process.exit(1));
+ ^
+ SyntaxError: Unexpected token )
+
+when running web-component-tester (wct), upgrade node.
If you don't want to install npm globally, try
« no previous file with comments | « appengine/swarming/ui/Makefile ('k') | appengine/swarming/ui/bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698