Files
terraform-provider-unifi/Makefile
Joshua Spence 263a2c71d2 Remove UNIFI_ACC_WLAN_CONCURRENCY (#323)
* Remove `UNIFI_ACC_WLAN_CONCURRENCY`

* Update resource_wlan_test.go

* Update resource_wlan_test.go
2023-03-01 10:44:11 +11:00

23 lines
423 B
Makefile

TEST ?= ./...
TESTARGS ?=
TEST_COUNT ?= 1
.PHONY: default
default: build
.PHONY: build
build:
go install
.PHONY: testacc
testacc:
TF_ACC=1 UNIFI_API=https://localhost:8443 UNIFI_INSECURE=true UNIFI_USERNAME=admin UNIFI_PASSWORD=admin go test $(TEST) -v -count=$(TEST_COUNT) $(TESTARGS)
.PHONY: testacc-up
testacc-up:
docker compose up --detach --wait
.PHONY: testacc-down
testacc-down:
docker compose down