Test
See the function Test() for creation details
idl
;+
; :Returns: test
;-
result = Test(luna_suite, description, $
_ref_extra = value)Init method for the IDL package test suite tests. Should only be called from a Suite object an not on it's own.
Known Methods
Function Methods
| Name | Description |
|---|---|
| Test::expects() | This method generates a new expectation for a test to pass or fail. |
Known Properties
description
type=StringTest description.
expectations
type=List<Expectation>Expectations that belong to this test.
file
type=StringFile that the test was called from.
is_workbench
type=LongFlag for whether we are running in the workbench.
lastTime
type=DoubleTime in seconds when the last expectation finished.
logFile
type=StringFile that results are logged to.
luna_suite
type=SuiteParent suite.
passed
type=LongFlag for whether the test passed.
platform
type=StringPlatform that we are running on.