aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-07-23 08:56:16 +0200
committerGitHub <noreply@github.com>2019-07-23 08:56:16 +0200
commitb858e6fb5f220b97655fd23bc5f099c42ef4b159 (patch)
tree17a840473369105bda45b72c0f5d84b06b25e10f
parentbb071d588df168daf58e1859f93f602790a85dd5 (diff)
dashboard/app: add test instructions
-rw-r--r--dashboard/app/README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/dashboard/app/README.md b/dashboard/app/README.md
index b3e118b00..30a3c1e73 100644
--- a/dashboard/app/README.md
+++ b/dashboard/app/README.md
@@ -9,3 +9,15 @@ For more details about App Engine refer to the [docs](https://cloud.google.com/a
and in particular [support package docs](https://cloud.google.com/appengine/docs/standard/go/reference).
**Note**: The app is not stable and is not officially supported. It's here only to power the main deployment.
+
+To test the app one needs to install the SDK and add the `goapp` binary to `$PATH`, then run:
+```
+goapp test -tags=aetest github.com/google/syzkaller/dashboard/app
+```
+During development it's handy to use `-short` flag to not run the longest tests.
+
+If any of the tests fail, use `-v` flag to see log of what happens and `-run` flag
+to run a single test, e.g.:
+```
+goapp test -tags=aetest -short -v -run=TestEmailReport github.com/google/syzkaller/dashboard/app
+```