You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to test the provider, you can simply run `make test`.
51
+
### Running tests
52
+
The Terraform Provider only has acceptance tests, these can run against a gitlab instance where you have a token with administrator permissions (likely not gitlab.com).
53
+
There is excellent documentation on [how to run gitlab from docker at gitlab.com](https://docs.gitlab.com/omnibus/docker/)
52
54
53
-
```sh
54
-
$ make test
55
-
```
55
+
In order to run the full suite of acceptance tests, export the environment variables:
56
56
57
-
In order to run the full suite of Acceptance tests, run `make testacc`.
57
+
-`GITLAB_TOKEN` //token for account with admin priviliges
58
+
-`GITLAB_BASE_URL` //URL with api part e.g. `http://localhost:8929/api/v4/`
58
59
59
-
*Note:* Acceptance tests create real resources, and often cost money to run.
0 commit comments