Mercurial > gemma
view client/README.md @ 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 | a719a3ba2fb4 |
children | e4e4a0e6338e |
line wrap: on
line source
N.N === * Install dependencies * Javascript `yarn install` * Configuration via `.env`-file **Example** given via `.env.sample` ``` cp .env.sample .env ```` * Start Development servers * Javascript Run webpack-dev-server with `yarn serve` * If you also want to start the backend, try `yarn run:both` * Build `yarn build` builds the production ready assets to `web` folder. * 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)