Sha256: d0e6fcd5e6b97d16eb7106b46d3904ec415db66c42dc5e45f25fce6c8903ae29

Contents?: true

Size: 345 Bytes

Versions: 11

Compression:

Stored size: 345 Bytes

Contents

desc 'tests', 'Run all employed tests'
def tests
  rake_result = invoke_cmd 'with_rake'

  # Since `rake` usually is configured to run all tests, only run them if `rake`
  # did not perform
  if rake_result == :did_not_perform
    invoke_cmd 'unit'
    invoke_cmd 'rspec'
    invoke_cmd 'cucumber'
  end

  success 'Successfully ran tests.'
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
geordi-2.12.3 lib/geordi/commands/tests.rb
geordi-2.12.2 lib/geordi/commands/tests.rb
geordi-2.12.1 lib/geordi/commands/tests.rb
geordi-2.12.0 lib/geordi/commands/tests.rb
geordi-3.0.0 lib/geordi/commands/tests.rb
geordi-2.11.0 lib/geordi/commands/tests.rb
geordi-2.10.1 lib/geordi/commands/tests.rb
geordi-2.10.0 lib/geordi/commands/tests.rb
geordi-2.9.0 lib/geordi/commands/tests.rb
geordi-2.8.0 lib/geordi/commands/tests.rb
geordi-2.7.0 lib/geordi/commands/tests.rb