Skip to content

Latest commit

 

History

History
75 lines (40 loc) · 1.14 KB

File metadata and controls

75 lines (40 loc) · 1.14 KB

Codecept

CodeceptJS runner

Parameters

  • config any
  • opts any

init

Initialize CodeceptJS at specific directory. If async initialization is required, pass callback as second parameter.

Parameters

initGlobals

Creates global variables

Parameters

loadTests

Loads tests by pattern or by config.tests

Parameters

requireModules

Require modules before codeceptjs running

Parameters

run

Run a specific test or all loaded tests.

Parameters

runBootstrap

Executes bootstrap. If bootstrap is async, second parameter is required.

Parameters

  • done

runHooks

Executes hooks.

teardown

Executes teardown. If teardown is async a parameter is provided.

Parameters

  • done any (optional, default undefined)