import {JasmineConfig} from '@serenity-js/jasmine/lib/adapter'
public interface | source

JasmineConfig

Configuration object that will be passed to the JasmineRunner.

Member Summary

Public Members
public

defaultTimeoutInterval: number | undefined

Sets the global jasmine.DEFAULT_TIMEOUT_INTERVAL, which defines the default number of milliseconds Jasmine will wait for an asynchronous spec to complete.

public

grep: string | RegExp | undefined

Used to exclude any test scenarios which name doesn't match the pattern from the run.

public

helpers: string[] | undefined

A list of paths to helper files that should be loaded and executed before the requires and the specs.

public

random: boolean | undefined

Whether or not the tests should be executed in a pseudo-random order.

public

requires: string[] | undefined

A list of paths to files that should be required after the helpers, but before the specs.

public

seed: string | undefined

The randomisation seed that will be used to determine the pseudo-random order of execution, if random is set to true

Public Members

public defaultTimeoutInterval: number | undefined source

Sets the global jasmine.DEFAULT_TIMEOUT_INTERVAL, which defines the default number of milliseconds Jasmine will wait for an asynchronous spec to complete.

public grep: string | RegExp | undefined source

Used to exclude any test scenarios which name doesn't match the pattern from the run.

public helpers: string[] | undefined source

A list of paths to helper files that should be loaded and executed before the requires and the specs. Accepts relative and absolute paths as well as glob expressions.

public random: boolean | undefined source

Whether or not the tests should be executed in a pseudo-random order.

public requires: string[] | undefined source

A list of paths to files that should be required after the helpers, but before the specs. The path need to be compatible with Node require.

public seed: string | undefined source

The randomisation seed that will be used to determine the pseudo-random order of execution, if random is set to true