Class: Fuci::Tester

Inherits:
Object
  • Object
show all
Defined in:
lib/fuci/tester.rb

Direct Known Subclasses

Cucumber, RSpec

Instance Method Summary collapse

Instance Method Details

#command(log) ⇒ Object

must return a command string to be executed by the system, e.g. “rspec ./spec/features/it_is_cool_spec.rb”

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/fuci/tester.rb', line 14

def command log
  raise NotImplementedError
end

#indicates_failure?(log) ⇒ Boolean

must return a boolean telling whether the log passed in indicates a failure made by the tester

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/fuci/tester.rb', line 7

def indicates_failure? log
  raise NotImplementedError
end