Skip to content

Commit 4eb7d9b

Browse files
Run single integration test (#86)
1 parent db60aeb commit 4eb7d9b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ make clean # Remove build artifacts
1515

1616
Run a single integration test:
1717
```bash
18-
cd test/integration && go test -count=1 -v -run TestStartCommandSucceedsWithValidToken .
18+
make test-integration RUN=TestStartCommandSucceedsWithValidToken
1919
```
2020

2121
Note: Integration tests require `LOCALSTACK_AUTH_TOKEN` environment variable for valid token tests.

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ test:
2121
test-integration: $(BUILD_DIR)/$(BINARY_NAME)
2222
@JUNIT=""; [ -n "$$CREATE_JUNIT_REPORT" ] && JUNIT="--junitfile ../../test-integration-results.xml"; \
2323
if [ "$$(uname)" = "Darwin" ]; then \
24-
cd test/integration && LSTK_KEYRING=file go run gotest.tools/gotestsum@latest --format testname $$JUNIT -- -count=1 ./...; \
24+
cd test/integration && LSTK_KEYRING=file go run gotest.tools/gotestsum@latest --format testname $$JUNIT -- -count=1 $(if $(RUN),-run $(RUN)) ./...; \
2525
else \
26-
cd test/integration && go run gotest.tools/gotestsum@latest --format testname $$JUNIT -- -count=1 ./...; \
26+
cd test/integration && go run gotest.tools/gotestsum@latest --format testname $$JUNIT -- -count=1 $(if $(RUN),-run $(RUN)) ./...; \
2727
fi
2828

2929
mock-generate:

0 commit comments

Comments
 (0)