🧬 @pokujs/multi-suite is a Poku plugin to run multiple independent test suites (each with its own configuration) as a single, unified execution.
Tip
Run multiple suites as one: independent concurrency, reporters, plugins, and quiet mode per suite, with isolated executions and a single consolidated report at the end.
# Node.js
npm i -D @pokujs/multi-suite |
# Bun
bun add -d @pokujs/multi-suite |
# Deno (optional)
deno add npm:@pokujs/multi-suite |
// poku.config.js
import { multiSuite } from '@pokujs/multi-suite';
import { defineConfig } from 'poku';
export default defineConfig({
plugins: [
multiSuite([
{ include: 'test/unit', concurrency: 8 },
{ include: 'test/integration', sequential: true },
]),
],
});Each suite accepts all poku config file options, applied independently.
multiSuite([
{ include: 'test/unit', concurrency: 16 },
{ include: 'test/e2e', sequential: true },
]);multiSuite([
{ include: 'test/unit', envFile: '.env.test' },
{ include: 'test/integration', envFile: '.env.integration' },
]);multiSuite([
{ include: 'test/unit' },
{ include: 'test/integration', plugins: [myPlugin()] },
]);multiSuite([
{ include: 'test/unit', reporter: 'dot' },
{ include: 'test/integration', reporter: 'compact' },
]);multiSuite([
{ include: 'test/unit' },
{
include: 'test/integration',
kill: { port: [3000, 5432] },
},
]);- Suites run sequentially, one after the other
- Each suite is a fully independent
pokuexecution with its own configuration - Live file results are shown as they happen, using each suite's configured reporter
- A single consolidated failure report and summary badge are shown at the end
Ctrl+Cstops everything immediately
MIT © wellwelwel