Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Runs and troubleshoots DBHub unit and Testcontainers integration tests, including database-specific connector tests and Docker issues.
57% 96%+39 ptsof test cases passed
Passed 22 of 23 test cases with the skill, and 13 of 23 without it.
3 of 3 safety checks passed
Not used yet
This skill helps you run and troubleshoot tests in the DBHub project.
Before running tests, consult TESTING.md for comprehensive documentation.
Common test commands:
pnpm test - Run all testspnpm test:watch - Run tests in watch modepnpm test:integration - Run integration tests (requires Docker)pnpm test src/connectors/__tests__/{db-type}.integration.test.ts - Test specific database connectorIntegration tests use Testcontainers to run real database instances in Docker.
Before running integration tests, verify:
docker psTest individual database connectors:
# PostgreSQL
pnpm test src/connectors/__tests__/postgres.integration.test.ts
# MySQL
pnpm test src/connectors/__tests__/mysql.integration.test.ts
# MariaDB
pnpm test src/connectors/__tests__/mariadb.integration.test.ts
# SQL Server
pnpm test src/connectors/__tests__/sqlserver.integration.test.ts
Next to this one in the catalogue, plus more from the same author.