- docs/automated-e2e-testing.md: Guide for running headless Claude CLI tests with both mcbluetooth and mcbluetooth-esp32 MCP servers - tests/prompts/test-prompt-v4.md: 71-test suite covering Classic BT, BLE GATT, HCI capture, device management - tests/prompts/test-prompt-v5.md: 76-test suite adding Battery Service (0x180F) and bt_ble_battery verification Test results from v4: 71/71 PASS with 143 HCI packets captured
30 lines
807 B
Markdown
30 lines
807 B
Markdown
# E2E Test Prompts
|
|
|
|
These markdown files are test prompts for running automated E2E Bluetooth tests using Claude CLI in headless mode.
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
cd /tmp/bt-e2e-test
|
|
claude -p "$(cat test-prompt-v5.md)" \
|
|
--mcp-config .mcp.json \
|
|
--allowedTools "mcp__esp32__*,mcp__bluez__*" \
|
|
--output-format json
|
|
```
|
|
|
|
See [automated-e2e-testing.md](../../docs/automated-e2e-testing.md) for full setup instructions.
|
|
|
|
## Test Prompts
|
|
|
|
| File | Tests | Coverage |
|
|
|------|-------|----------|
|
|
| `test-prompt-v4.md` | 71 | Classic BT, BLE GATT, HCI capture |
|
|
| `test-prompt-v5.md` | 76 | v4 + Battery Service, bt_ble_battery |
|
|
|
|
## Requirements
|
|
|
|
- ESP32 with mcbluetooth-esp32 firmware
|
|
- Linux host with Bluetooth adapter
|
|
- Both MCP servers configured in `.mcp.json`
|
|
- btmon with CAP_NET_RAW for HCI capture tests
|