Class: Section

'brixy.tester.Section'~ Section

new Section (nameopt)

Section object.

Parameters:
Name Type Attributes Description
name string <optional>
Source:

Methods

addResult (result)

Adds a result.

Parameters:
Name Type Description
result module:'brixy.tester.Result'~Result
Source:

getName () → {string}

Gets section name.

Returns:
  • string
Source:

getStatistics () → {Object}

Counts number of tests, number of failed/skipped tests.

Returns:
  • Object :
    • {total: int, failed: int, skipped: int}
Source:

passed () → {boolean}

Returns true if job passed.

Returns:
  • boolean
Source:

resultList () → {Array}

Gets result list.

Returns:
  • Array
Source:

toString () → {string}

Returns a string representation of the object.

Returns:
  • string
Source: