Skip to main content
Glama
README.md1.15 kB
# MCPify Integration Tests This package contains integration tests for the MCPify library that verify the public API functionality. ## Purpose Unlike unit tests (located in `packages/*/src/**/*.test.ts`), these integration tests: - Import only from the public API (`@mcpify/core`) rather than internal interfaces - Test end-to-end workflows from input to output - Verify the behavior of multiple components working together - Serve as usage examples for consumers of the library ## Running Tests ```bash # Run integration tests only pnpm --filter @mcpify/tests test # Run integration tests in watch mode pnpm --filter @mcpify/tests test:watch ``` ## Test Organization Tests are organized by feature area: - `resource-registration.test.ts` - Tests for proper registration of resources from OpenAPI specs - (Additional test files will be added here) ## Writing Integration Tests When writing integration tests: 1. Only import from the public API (`@mcpify/core`) 2. Do not access internal implementation details 3. Focus on verifying the end-to-end behavior 4. Maintain proper test isolation by creating fresh instances for each test

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wycats/mcpify'

If you have feedback or need assistance with the MCP directory API, please join our Discord server