Skip to content

Enhance CLI commands and testing framework#2

Merged
a-ng-d merged 6 commits intomainfrom
feat/add-more-cli-commands
Mar 6, 2026
Merged

Enhance CLI commands and testing framework#2
a-ng-d merged 6 commits intomainfrom
feat/add-more-cli-commands

Conversation

@a-ng-d
Copy link
Collaborator

@a-ng-d a-ng-d commented Mar 6, 2026

Improve CLI commands for managing workers, skills, and specs. Integrate Vitest for testing with comprehensive test cases and update the package configuration accordingly. Fix a missing newline in package.json.

a-ng-d added 3 commits March 6, 2026 17:58
…sive test cases

- Updated package.json to replace node test command with Vitest commands and added a watch mode.
- Exported the toTitleCase function from add.ts for testing.
- Created add.test.ts to test WORKERS, WORKER_SCRIPTS, SKILLS_REPO, and toTitleCase function.
- Added cli.test.ts to test CLI commands for adding and removing workers.
- Implemented specs.test.ts to test addSpecs and removeSpecs functions with mocked inquirer prompts.
- Introduced tsconfig.test.json for test-specific TypeScript configuration.
- Added Vitest configuration files (vitest.config.js and vitest.config.ts) for test environment setup.
@a-ng-d a-ng-d self-assigned this Mar 6, 2026
@a-ng-d a-ng-d added the enhancement New feature or request label Mar 6, 2026
@a-ng-d a-ng-d merged commit 3c2eb20 into main Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant