Add tests infrastructure and tests for ocis-accounts

This commit is contained in:
jasson99
2020-07-06 16:53:22 +05:45
parent b2d891c751
commit f924285cf8
12 changed files with 2021 additions and 50 deletions
+6
View File
@@ -25,6 +25,8 @@ PACKAGES ?= $(shell go list ./...)
SOURCES ?= $(shell find . -name "*.go" -type f -not -path "./node_modules/*")
GENERATE ?= $(IMPORT)/pkg/assets
FEATURE_PATH ?= "ui/tests/acceptance/features"
TAGS ?=
ifndef OUTPUT
@@ -152,6 +154,10 @@ docs-build:
.PHONY: docs
docs: docs-copy docs-build
.PHONY: test-acceptance-webui
test-acceptance-webui:
./ui/tests/run-acceptance-test.sh $(FEATURE_PATH)
.PHONY: watch
watch:
go run github.com/cespare/reflex -c reflex.conf