Skip to content

StatefulPropertyUnitTest[S: S, M: M, Cmd: Stringable val]

[Source]

Wraps a StatefulProperty for use as a PonyTest UnitTest.

Registration:

test(StatefulPropertyUnitTest[MySut, MyModel, MyCmd](
  _MyStatefulProperty))
class iso StatefulPropertyUnitTest[S: S, M: M, Cmd: Stringable val] is
  UnitTest ref

Implements


Constructors

create

[Source]

new iso create(
  prop: StatefulProperty[S, M, Cmd] iso)
: StatefulPropertyUnitTest[S, M, Cmd] iso^

Parameters

Returns


Public Functions

name

[Source]

fun box name()
: String val

Returns


apply

[Source]

Run the wrapped stateful property as a PonyTest test.

fun ref apply(
  h: TestHelper val)
: None val ?

Parameters

Returns


exclusion_group

[Source]

fun box exclusion_group()
: String val

Returns


timed_out

[Source]

fun ref timed_out(
  h: TestHelper val)
: None val

Parameters

Returns


set_up

[Source]

fun ref set_up(
  h: TestHelper val)
: None val ?

Parameters

Returns


tear_down

[Source]

fun ref tear_down(
  h: TestHelper val)
: None val

Parameters

Returns


label

[Source]

fun box label()
: String val

Returns