Skip to content

Suite ​

See the function Suite() for creation details

idl
;+
; :Returns: suite
;-
result = Suite(luna, description, $
  _ref_extra = value, $
  , $
  )

Init method for the luna test quite object. Should only be called directly from luna object method to create a suite or from another Suite object so that properties are correctly inherited.

Known Methods ​

Function Methods ​

NameDescription
Suite::suite()Crates a new test object for a test suite.
Suite::test()Creates a new test object for a test suite.

Known Properties ​

children ​

type=List<any>

Tests and suites that we create.

description ​

type=String

Description of our test suite.

file ​

type=String

File that the suite was called from.

is_workbench ​

type=Long

Flag for whether we are running in the workbench.

logFile ​

type=String

File that results are logged to.

luna ​

type=Luna

Parent (or parent of parent) luna object.

luna_suite ​

type=suite

Suite that created this suite, if any.

nLevels ​

type=Long

Nesting level of this suite.

passed ​

type=Long

Flag for whether the suite passed.

platform ​

type=String

Platform that we are running on.

pre_execute ​

type=String

Procedure to call before a test is run.

Licensed under MIT.