changeset 167:a6d7ee20fc96

docs: Adding documentation on how to run tests Documentation added for running unit or e2e tests
author Thomas Junk <thomas.junk@intevation.de>
date Fri, 06 Jul 2018 12:09:08 +0200
parents 8f49ba6cddd9
children e4e4a0e6338e
files client/README.md
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/client/README.md	Fri Jul 06 12:00:08 2018 +0200
+++ b/client/README.md	Fri Jul 06 12:09:08 2018 +0200
@@ -32,3 +32,13 @@
 * Translation
   * Extract Messages via `make makemessages`
   * Translations are converted via `make translations`
+
+* Tests
+  * Unit tests are started via `yarn test:unit`
+  * e2e tests are started via `yarn test:e2e`
+
+    Vue cli supports the Chrome selenium driver out of the box
+    If you are interested in using the Firefox variant of the driver
+    see [Vue CLI Plugin Docs](https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-e2e-nightwatch)
+    and see also [Nightwatch documentation](http://nightwatchjs.org/gettingstarted#geckodriver)
+