Sha256: fb38b9c8c5e59be418d359c1eb1c9aaf838819e66b6626ab35da1d2232c9260a

Contents?: true

Size: 369 Bytes

Versions: 14

Compression:

Stored size: 369 Bytes

Contents

desc 'tests', 'Run all employed tests'
def tests
  rake_result = invoke_geordi '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_geordi 'unit'
    invoke_geordi 'rspec'
    invoke_geordi 'cucumber'
  end

  Interaction.success 'Successfully ran tests.'
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
geordi-6.0.0 lib/geordi/commands/tests.rb
geordi-6.0.0.pre.rc1 lib/geordi/commands/tests.rb
geordi-5.4.0 lib/geordi/commands/tests.rb
geordi-5.3.0 lib/geordi/commands/tests.rb
geordi-5.2.4 lib/geordi/commands/tests.rb
geordi-5.2.3 lib/geordi/commands/tests.rb
geordi-5.2.2 lib/geordi/commands/tests.rb
geordi-5.2.1 lib/geordi/commands/tests.rb
geordi-5.2.0 lib/geordi/commands/tests.rb
geordi-5.1.0 lib/geordi/commands/tests.rb
geordi-5.0.0 lib/geordi/commands/tests.rb
geordi-4.2.1 lib/geordi/commands/tests.rb
geordi-4.2.0 lib/geordi/commands/tests.rb
geordi-4.1.1 lib/geordi/commands/tests.rb