Skip to content

Commit e2e466e

Browse files
adinauerclaude
andcommitted
fix(test): Correct Android task detection in test skill
Map modules ending in -android to testDebugUnitTest so Android library modules like sentry-launchdarkly-android do not fall back to test. Add AskUserQuestion to allowed-tools so interactive mode can execute the decision prompts described in the skill under restricted tool settings. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 0fa5d7f commit e2e466e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.claude/skills/test/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: test
33
description: Run tests for a specific SDK module. Use when asked to "run tests", "test module", "run unit tests", "run system tests", "run e2e tests", or test a specific class. Auto-detects unit vs system tests. Supports interactive mode.
4-
allowed-tools: Bash, Read, Glob
4+
allowed-tools: Bash, Read, Glob, AskUserQuestion
55
argument-hint: [interactive] <module-name-or-file-path> [test-class-filter]
66
---
77

@@ -42,6 +42,7 @@ Determine the Gradle test task:
4242
|---------------|-----------|
4343
| `sentry-android-*` | `testDebugUnitTest` |
4444
| `sentry-compose*` | `testDebugUnitTest` |
45+
| `*-android` | `testDebugUnitTest` |
4546
| Everything else | `test` |
4647

4748
**Interactive mode:** Before running, read the test class file and use AskUserQuestion to ask:

0 commit comments

Comments
 (0)