ESpec.Context

Defines macros ‘context’ and ‘describe’.

Source

Summary

__struct__()

Context has description

context(list1)

Add context without description

context(description, body)

Add context with description to ‘example context’

describe(list1)

Alias for context/1

describe(description, body)

Alias for context/2

Functions

__struct__()

Specs:

  • __struct__ :: %ESpec.Context{description: term}

Context has description.

Source

Macros

context(list1)

Add context without description.

Source
context(description, body)

Add context with description to ‘example context’.

Source
describe(list1)

Alias for context/1.

Source
describe(description, body)

Alias for context/2.

Source