Skip to main content
Version: 8.0.2

Suites

A test suite is a collection of test cases or specs designed to test a program for checking a particular behavior.

Test suites are usually divided according to system functionalities or the type of test performed.

Test Maker allows running single or multiple test suites. Suites can be defined in the configuration file and passed to the CLI using --suites argument.

This option of the configuration file allows you to specify a set of test features to run.

Options

Basic Usage

In the configuration file

    suites: {
"Regression": {
path: [
`./src/specs/regression/*-spec.ts`
]
},
"Smoke": {
path: [
`./src/specs/smoke/*-spec.ts`
]
},
"E2E": {
path: [
`./src/specs/e2e/*-spec.ts`
]
},
},

In the CLI

npm run test:local -- --suites Regression

or

npx ketm run -c test-maker.local.ts --suites Regression