class

SpectatorTest

Inherits Spectator::DSL < Reference < Object

Root-level class that all tests inherit from and are contained in. This class is intentionally outside of the scope of Spectator, so that the namespace isn't leaked into tests unexpectedly.

Constructors

new(spectator_test_values : Spectator::TestValues)
Source

Instance methods

_spectator_implicit_subject
Source
inspect(io)

Prevent leaking internal values since their types may differ. Workaround for: https://gitlab.com/arctic-fox/spectator/-/issues/53

Source
subject
Source