#

API Docs for: 3.10.3
Show: Inherited Protected Private Deprecated

# Test.Results Class

Defined in: `test/js/Results.js:1`
Module: test

Convenience type for storing and aggregating test result information.

- Index
- Methods
- Properties

## Item Index

### Methods

- include

### Properties

- duration
- errors
- failed
- ignored
- name
- passed
- total

## Methods

### `include`

(

- `result`

)
Void

Defined in `test/js/Results.js:63`

Includes results from another results object into this one.

#### Parameters:

- `result` Test.Results

  The results object to include.

#### Returns:

Void:

## Properties

### `duration`

Int

Defined in `test/js/Results.js:55`

Amount of time (ms) it took to complete testing.

### `errors`

Int

Defined in `test/js/Results.js:34`

Number of errors that occur in non-test methods.

### `failed`

Int

Defined in `test/js/Results.js:27`

Number of failed tests.

### `ignored`

Int

Defined in `test/js/Results.js:41`

Number of ignored tests.

### `name`

String

Defined in `test/js/Results.js:13`

Name of the test, test case, or test suite.

### `passed`

Int

Defined in `test/js/Results.js:20`

Number of passed tests.

### `total`

Int

Defined in `test/js/Results.js:48`

Number of total tests.