From 7ca5211965916d0286a959e05db5ad611dc59fc7 Mon Sep 17 00:00:00 2001 From: Philippe-Adrien Nousse Date: Mon, 30 Jul 2018 10:47:32 +0200 Subject: [PATCH] added tests configuration instructions to README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8545d0c..ddb9b9d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ ![Nextcloud](https://upload.wikimedia.org/wikipedia/commons/thumb/6/60/Nextcloud_Logo.svg/640px-Nextcloud_Logo.svg.png) - +[![Go Report Card](https://goreportcard.com/badge/github.com/partitio/gonextcloud)](https://goreportcard.com/report/github.com/partitio/gonextcloud) # GoNextcloud A simple Client for Nextcloud's Provisioning API in Go. @@ -34,7 +34,15 @@ func main() { defer c.Logout() } ``` +## Run tests +Configure the tests for your instance by editing [example.config.yml](example.config.yml) and renaming it config.yml +then run the tests : +```bash +$ go test -v . +``` + +## Docs #### type Client ```go