Updated Contributing (markdown)

master
Hunter Long 2018-08-17 09:32:01 -07:00
parent 0b73dfb298
commit 3be878d07d
1 changed files with 23 additions and 1 deletions

@ -1 +1,23 @@
Yay
Have a feature you want to implement into Statup!? Awesome! Follow this guide to see how you can test, compile and build Statup for production use.
# Testing
Statup includes multiple ways to Test the application, you can run the `make` command, or the normal `go test` command. To see the full experience of your updates, you can even run Cypress tests which is in the `.dev/test` folder.
###### Makefile Command:
```bash
make test-all
```
###### Golang Command:
```bash
VERSION=0.44
STATUP_DIR=`pwd`
go test -v -p=1 -ldflags "-X main.VERSION=$(VERSION)" -coverprofile=coverage.out ./...
```
###### Cypress UI Testing:
```bash
cd .dev/test
npm test
```
# Build