module Cucumber
TODO: Remove this class and use Cucumber::Core::Event::Base once v17 of core is minimum
Given one Cucumber Message, find another.
Queries can be made while the test run is incomplete - and this will naturally return incomplete results see <a href=“github.com/cucumber/messages?tab=readme-ov-file#message-overview”>Cucumber Messages - Message Overview</a>
Constants
- BINARY
- CODEPAGE
- JRUBY
- RUBY_BINARY
- VERSION
- WINDOWS
Attributes
Public Class Methods
Source
# File lib/cucumber.rb, line 16 def deprecate(message, method, remove_after_version) Kernel.warn( "\nWARNING: #{method} is deprecated" \ " and will be removed after version #{remove_after_version}. #{message}.\n" \ "(Called from #{caller(3..3).first})" ) end
Source
# File lib/cucumber/platform.rb, line 19 def file_mode(mode, encoding = 'UTF-8') "#{mode}:#{encoding}" end
Source
# File lib/cucumber.rb, line 24 def logger return @log if @log @log = Logger.new($stdout).tap { |log| log.level = Logger::INFO } end
Source
# File lib/cucumber/platform.rb, line 15 def use_full_backtrace @use_full_backtrace ||= false end