Module: Gauge
- Defined in:
- lib/util.rb,
lib/log.rb,
lib/table.rb,
lib/spec_pb.rb,
lib/executor.rb,
lib/datastore.rb,
lib/code_parser.rb,
lib/messages_pb.rb,
lib/services_pb.rb,
lib/method_cache.rb,
lib/configuration.rb,
lib/gauge_runtime.rb,
lib/static_loader.rb,
lib/gauge_messages.rb,
lib/gauge_screenshot.rb,
lib/service_handlers.rb,
lib/services_services_pb.rb,
lib/processors/execution_handler.rb,
lib/processors/cache_file_processor.rb,
lib/processors/kill_request_processor.rb,
lib/processors/datastore_init_processor.rb,
lib/processors/execution_hook_processors.rb,
lib/processors/step_name_request_processor.rb,
lib/processors/step_names_request_processor.rb,
lib/processors/stub_implementation_processor.rb,
lib/processors/execute_step_request_processor.rb,
lib/processors/refactor_step_request_processor.rb,
lib/processors/step_positions_request_processor.rb,
lib/processors/step_validation_request_processor.rb,
lib/processors/implementation_file_list_processor.rb,
lib/processors/implementation_glob_pattern_processor.rb
Overview
-
Copyright © ThoughtWorks, Inc.
-
Licensed under the Apache License, Version 2.0
-
See LICENSE.txt in the project root for license information.
Defined Under Namespace
Modules: Executor, GaugeLog, Messages, Processors, Runtime, StaticLoader Classes: CodeParser, Configuration, DataStore, DataStoreFactory, DebugOptions, ExecutionHandler, GaugeMessages, GaugeScreenshot, MethodCache, Row, Table, Util
Class Method Summary collapse
- .capture ⇒ Object
-
.configure(&block) ⇒ Object
Custom configuration for Gauge - Lets you configure modules that need to be included at runtime.
-
.write_message(message) ⇒ Object
Custom Messages for Gauge Lets you send custom execution messages to Gauge which are printed in reports.
Class Method Details
.capture ⇒ Object
9 10 11 |
# File 'lib/gauge_screenshot.rb', line 9 def capture GaugeScreenshot.instance.capture end |
.configure(&block) ⇒ Object
Custom configuration for Gauge
-
Lets you configure modules that need to be included at runtime.
-
Lets you define a custom screengrabber, which will be invoked to capture screenshot on failure.
33 34 35 |
# File 'lib/configuration.rb', line 33 def configure(&block) Configuration.instance.instance_eval &block end |
.write_message(message) ⇒ Object
Custom Messages for Gauge Lets you send custom execution messages to Gauge which are printed in reports.
15 16 17 |
# File 'lib/gauge_messages.rb', line 15 def () GaugeMessages.instance.write() end |