Function: createTestMatrix()

August 8, 2026 ยท View on GitHub

@plures/praxis


@plures/praxis / index / createTestMatrix

Function: createTestMatrix()

createTestMatrix(name, axes, testCaseIds): TestMatrix

Defined in: src/lifecycle/qa.ts:208

Create a test matrix from axes.

Parameters

name

string

Name for this test matrix

axes

Record<string, string[]>

Record of axis names to their possible values (e.g. { browser: ['chrome', 'firefox'] })

testCaseIds

string[]

IDs of test cases this matrix applies to

Returns

TestMatrix

A TestMatrix with pre-computed totalCombinations