Sha256: bc8fd8def6b15adbb11b9c01fbac6bf2e5918fd2c56c3a8cfa3b928a58516a6b

Contents?: true

Size: 338 Bytes

Versions: 22

Compression:

Stored size: 338 Bytes

Contents

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

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

  success 'Successfully ran tests.'
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
geordi-2.6.0 lib/geordi/commands/tests.rb
geordi-2.5.0 lib/geordi/commands/tests.rb
geordi-2.4.0 lib/geordi/commands/tests.rb
geordi-2.3.0 lib/geordi/commands/tests.rb
geordi-2.2.0 lib/geordi/commands/tests.rb
geordi-2.1.0 lib/geordi/commands/tests.rb
geordi-2.0.0 lib/geordi/commands/tests.rb
geordi-1.10.0 lib/geordi/commands/tests.rb
geordi-1.9.1 lib/geordi/commands/tests.rb
geordi-1.9.0 lib/geordi/commands/tests.rb
geordi-1.8.0 lib/geordi/commands/tests.rb
geordi-1.7.1 lib/geordi/commands/tests.rb
geordi-1.7.0 lib/geordi/commands/tests.rb
geordi-1.6.5 lib/geordi/commands/tests.rb
geordi-1.6.4 lib/geordi/commands/tests.rb
geordi-1.6.3 lib/geordi/commands/tests.rb
geordi-1.6.2 lib/geordi/commands/tests.rb
geordi-1.6.1 lib/geordi/commands/tests.rb
geordi-1.6.0 lib/geordi/commands/tests.rb
geordi-1.5.2 lib/geordi/commands/tests.rb