add-knowledge-connector-unit-tests

Official

Automate unit tests for Cognigy Connectors.

AuthorCognigy
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured approach to creating and validating unit tests for Cognigy Knowledge Connector extensions, reducing setup time and ensuring consistent testing practices across projects.

Core Features & Use Cases

  • Provides a complete blueprint for test scaffolding using Node.js built-in test runner with node:test and node:assert.
  • Includes guidelines for creating mock KnowledgeApi interactions and vendor API responses.
  • Demonstrates how to structure tests for create, upsert, and delete Knowledge Sources and Chunks, and how to verify outcomes with assertions.

Quick Start

Install dependencies, implement a connector test following the template, and run npm test to execute the suite.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-knowledge-connector-unit-tests
Download link: https://github.com/Cognigy/Extensions/archive/main.zip#add-knowledge-connector-unit-tests

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.