module Spec::Item

Overview

Info that describe, context and it all have in common.

Direct including types

Defined in:

spec/item.cr
spec/filters.cr

Instance Method Summary

Instance Method Detail

def description : String #

The example or example group's description.


[View source]
def end_line : Int32 #

The line where the example or example group ends.


[View source]
def file : String #

The file where the example or example group is defined.


[View source]
def focus? : Bool #

Does this example or example group have focus: true on it?


[View source]
def line : Int32 #

The line where the example or example group starts.


[View source]
def parent : Context #

The describe/context that wraps this example or example group.


[View source]