ESpec v1.6.0 ESpec.Finally View Source

Defines finally macro. The block is evaluated after the example. shared is available. Define the finally before example!.

Link to this section Summary

Functions

Struct has random fuction name

Adds %ESpec.Finally structs to the context and defines random function with random name which will be called when example is run

Link to this section Functions

Link to this function %ESpec.Finally{} View Source (struct)

Struct has random fuction name.

Adds %ESpec.Finally structs to the context and defines random function with random name which will be called when example is run.