I am placing a few puts
statements in my script. But the messages are not printed; the script is passing through these statements. I observe the moment execution goes into rake puts
is not working throughout the flow.
In spec helper
class Testbed
puts "Inside test bed" // This puts is printed
some code
some code
some code
some code
end
RSpec.configure do |config|
puts "In side rspec config" // This puts is printed
config.color = true
config.tty = true
some code
some code
some code
some code
end
config.before(:all) do
puts "in before all"//not printed
None of the puts
statements here is printing an output. My puts
in Page Object, Spec files are not considered.
Can any one suggest a workaround for this?