module Spec::Item

Overview

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

Direct including types

Defined in:

spec/filters.cr
spec/item.cr

Instance Method Summary

Instance Method Detail

def all_tags : Set(String) #

All tags, including tags inherited from ancestor example groups


[View source]
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]
def tags : Set(String) | Nil #

The tags defined on this example or example group


[View source]