mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-04 20:17:09 +00:00
chore: add test-companion target for the withcompanion-tagged suite
This commit is contained in:
1 parent
8c38a727e0
commit
4e5cd63f7e
1 file changed
+7
-1
@@ -24,7 +24,7 @@ DOCS_TEMPLATE := docs/_template/page.html
|
|||||||
REPLAY_DIST := internal/replay/dist
|
REPLAY_DIST := internal/replay/dist
|
||||||
WEB_DIST := replay-ui/dist
|
WEB_DIST := replay-ui/dist
|
||||||
|
|
||||||
.PHONY: bootstrap proto sidecar sanderling install test test-go test-browser test-kotlin test-spec-api web-test web-typecheck web-build web-dev replay-dev docs clean release-cli release-npm-dry
|
.PHONY: bootstrap proto sidecar sanderling install test test-go test-browser test-companion test-kotlin test-spec-api web-test web-typecheck web-build web-dev replay-dev docs clean release-cli release-npm-dry
|
||||||
|
|
||||||
bootstrap:
|
bootstrap:
|
||||||
$(GO) mod download
|
$(GO) mod download
|
||||||
@@ -87,6 +87,12 @@ web-test:
|
|||||||
test-browser:
|
test-browser:
|
||||||
$(GO) test -tags browser ./test/browser/... ./internal/driver/chrome/...
|
$(GO) test -tags browser ./test/browser/... ./internal/driver/chrome/...
|
||||||
|
|
||||||
|
# Runs the withcompanion-tagged tests (asset embedding, extraction, checksum
|
||||||
|
# reuse) against the real companion and runner bundles. Kept out of `test`
|
||||||
|
# because preparing the companion bundle needs the darwin toolchain.
|
||||||
|
test-companion: $(COMPANION_EMBED)
|
||||||
|
$(GO) test -tags withcompanion ./internal/driver/ioscompanion/...
|
||||||
|
|
||||||
test-kotlin:
|
test-kotlin:
|
||||||
ANDROID_HOME=$(ANDROID_HOME) $(GRADLE) :sidecar:test
|
ANDROID_HOME=$(ANDROID_HOME) $(GRADLE) :sidecar:test
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user