Module: Teuton
- Included in:
- Application
- Defined in:
- lib/teuton.rb,
lib/teuton/version.rb
Constant Summary collapse
- VERSION =
'2.2.2'- APPNAME =
'teuton'- GEMNAME =
'teuton'- DOCKERNAME =
"dvarrui/#{GEMNAME}"- HOMEPAGE =
"https://github.com/teuton-software/teuton"
Class Method Summary collapse
-
.check(projectpath, options = {}) ⇒ Object
Check teuton test syntax.
- .create(path_to_new_dir) ⇒ Object
-
.readme(projectpath, options = {}) ⇒ Object
Create Readme file for a test.
-
.run(projectpath, options = {}) ⇒ Object
Run test.
Class Method Details
.check(projectpath, options = {}) ⇒ Object
Check teuton test syntax
34 35 36 37 38 39 40 41 42 |
# File 'lib/teuton.rb', line 34 def self.check(projectpath, = {}) Application.instance.add_input_params(projectpath, ) 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 [:panelconfig] lab.show_panelconfig if [:panelconfig] end |
.create(path_to_new_dir) ⇒ Object
7 8 9 |
# File 'lib/teuton.rb', line 7 def self.create(path_to_new_dir) Skeleton.create(path_to_new_dir) end |
.readme(projectpath, options = {}) ⇒ Object
Create Readme file for a test
22 23 24 25 26 27 28 29 |
# File 'lib/teuton.rb', line 22 def self.readme(projectpath, = {}) Application.instance.add_input_params(projectpath, ) 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
Run test
14 15 16 17 |
# File 'lib/teuton.rb', line 14 def self.run(projectpath, = {}) Application.instance.add_input_params(projectpath, ) require_dsl_and_script('teuton/case_manager/dsl') # Define DSL keywords end |