W3cubDocs

/Crystal

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 description : StringSource

The example or example group's description.

def end_line : Int32Source

The line where the example or example group ends.

def file : StringSource

The file where the example or example group is defined.

def focus? : BoolSource

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

def line : Int32Source

The line where the example or example group starts.

def parent : ContextSource

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

def tags : Set(String)?Source

The tags defined on this example or example group

© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/Spec/Item.html