Skip to content

module Athena::Console::Spec::Tester #

Contains common logic shared by both ACON::Spec::CommandTester and ACON::Spec::ApplicationTester.

Direct including types

Athena::Console::Spec::ApplicationTester Athena::Console::Spec::CommandTester

Methods#

#display #

Returns the output resulting from running the command. Raises if called before executing the command.

View source

#error_output #

Returns the error output resulting from running the command. Raises if capture_stderr_separately was not set to true.

View source

#inputs(*args : String) : Nil #

Helper method to setting the #inputs= property.

View source

#inputs=(inputs : Array(String)) #

Sets an array of values that will be used as the input to the command. RETURN is automatically assumed after each input.

View source

#output #

Returns the ACON::Output::Interface being used by the tester.

View source

#output? #

Returns the ACON::Output::Interface being used by the tester.

View source