Module: Teuton

Included in:
Application
Defined in:
lib/teuton.rb,
lib/teuton/version.rb

Constant Summary collapse

VERSION =
'2.3.4'
APPNAME =
'teuton'
GEMNAME =
'teuton'
DOCKERNAME =
"dvarrui/#{GEMNAME}"
HOMEPAGE =
"https://github.com/teuton-software/teuton"

Class Method Summary collapse

Class Method Details

.check(projectpath, options = {}) ⇒ Object



25
26
27
28
29
30
31
32
33
# File 'lib/teuton.rb', line 25

def self.check(projectpath, options = {})
  Application.instance.add_input_params(projectpath, options)
  require_dsl_and_script('teuton/check/laboratory') # Define DSL keywords

  app = Application.instance
  lab = Laboratory.new(app.script_path, app.config_path)
  lab.show unless options[:panelconfig]
  lab.show_panelconfig if options[:panelconfig]
end

.create(path_to_new_dir) ⇒ Object



6
7
8
# File 'lib/teuton.rb', line 6

def self.create(path_to_new_dir)
  Skeleton.create(path_to_new_dir)
end

.readme(projectpath, options = {}) ⇒ Object



15
16
17
18
19
20
21
22
23
# File 'lib/teuton.rb', line 15

def self.readme(projectpath, options = {})
  # Create Readme file for a test
  Application.instance.add_input_params(projectpath, options)
  require_dsl_and_script('teuton/readme/readme') # Define DSL keywords

  app = Application.instance
  readme = Readme.new(app.script_path, app.config_path)
  readme.show
end

.run(projectpath, options = {}) ⇒ Object



10
11
12
13
# File 'lib/teuton.rb', line 10

def self.run(projectpath, options = {})
  Application.instance.add_input_params(projectpath, options)
  require_dsl_and_script('teuton/case_manager/dsl') # Define DSL keywords
end