nodeboot-test-containers

Installation
SKILL.md

Generic Docker containers in tests (useGenericContainer)

Backed by testcontainers; starts/stops arbitrary Docker images for the duration of a test suite. Demonstrated in generic-container-demo.test.ts. For Mongo specifically, prefer nodeboot-test-mongodb's dedicated hooks instead — they handle connection-string/env-var wiring for you.

Single container

const {useGenericContainer} = useNodeBoot(EmptyApp, ({useGenericContainer}) => {
    useGenericContainer({
        containers: {
            alpine: {image: "alpine:latest", command: ["sleep", "60"]},
        },
    });
});
Installs
1
GitHub Stars
10
First Seen
Aug 11, 2026
nodeboot-test-containers — nodejs-boot/node-boot