Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,32 @@ go run ./cmd/tiger --help
```

### Integration Testing

#### Using the Test Script (Recommended)
```bash
# Run all integration tests (default pattern: Integration)
./scripts/test-integration.sh

# Run with verbose output
./scripts/test-integration.sh -v

# Run specific test pattern (overrides default)
./scripts/test-integration.sh -run CreateRole

# Run with custom timeout
./scripts/test-integration.sh -timeout 10m

# Combine flags (any go test flags are supported)
./scripts/test-integration.sh -v -run CreateRole_WithInheritedGrants -timeout 5m
```

The script automatically:
- Loads environment variables from `.env` file
- Builds the tiger CLI binary
- Runs tests matching "Integration" pattern by default
- Passes all arguments through to `go test` (supports all standard go test flags)

#### Manual Testing
```bash
# Run all tests (integration tests will skip without credentials)
go test ./...
Expand Down
Loading