testing-clickup-clilisted
Install: claude install-skill krodak/clickup-cli
## Test Suite Overview
| Suite | Command | Files | What it tests |
| ----- | ------------------ | ------------------------- | ------------------------------------------------------------------ |
| Unit | `npm test` | `tests/unit/**/*.test.ts` | All commands, API client, formatters, config. Mocks ClickUpClient. |
| E2E | `npm run test:e2e` | `tests/e2e/**/*.e2e.ts` | Real API calls against a live ClickUp workspace. |
Unit tests run in CI. E2E tests require `CLICKUP_API_TOKEN` in `.env.test` and are not part of CI.
## Running Tests
```bash
npm test # all unit tests
npm test -- tests/unit/commands/ # just command tests
npm test -- -t "sprint" # filter by test name
npm run test:e2e # e2e tests (needs .env.test)
```
The unit test global setup runs `npm run build` before tests start.
## E2E Test Workspace
Tests run against the personal ClickUp workspace (profile: `personal`).
### Space: E2E Tests (90166622768)
Pre-populated with test fixtures:
| Fixture | What it contains |
| ------------------ | ----------------------------------------------------------------------------- |
| **Sprints folder** | 3 sprint lists with `(M/DD - M/DD)` date ranges. Sprint 2 is "current". |
| **Backlog list** | General tasks for CRUD testing. E2E li