testing-clickup-cli

Solid

Run and manage tests for clickup-cli. Covers unit tests, e2e tests against a real ClickUp workspace, and the test data setup. Use when running tests, adding test coverage, debugging test failures, or setting up test fixtures.

Testing & QA 112 stars 18 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
68
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## 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...

Details

Author
krodak
Repository
krodak/clickup-cli
Created
6 months ago
Last Updated
6 days ago
Language
TypeScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category