module Gauntlt

English.rb adds human-readable names for things like $?, $!, etc.:

http://www.ruby-doc.org/stdlib-1.9.3/libdoc/English/rdoc/English_rb.html

TODO: get this explicit require to work require 'gauntlt/support/cli_helper'

Constants

ATTACK_ADAPTERS_DIR
ATTACK_ADAPTERS_GLOB_PATTERN
ATTACK_ALIASES_DIR
ATTACK_ALIASES_GLOB_PATTERN
CURRENT_DIR
GAUNTLT_DIR
VERSION

Public Class Methods

attack(path, tags=[], format="", outfile="") click to toggle source
# File lib/gauntlt.rb, line 35
def attack(path, tags=[], format="", outfile="")
  Attack.new(path, tags, format, outfile).run
end
attack_adapters() click to toggle source
# File lib/gauntlt.rb, line 25
def attack_adapters
  Dir.glob(ATTACK_ADAPTERS_GLOB_PATTERN)
end
attacks() click to toggle source
# File lib/gauntlt.rb, line 29
def attacks
  attack_adapters.map do |full_path|
    File.basename(full_path, '.rb')
  end.sort
end
stepdefs(path, tags=[]) click to toggle source
# File lib/gauntlt.rb, line 39
def stepdefs(path, tags=[])
  cuke_runtime = Gauntlt::Runtime.cuke_runtime(path, tags)
  Stepdef.sources(cuke_runtime)
end