Greetings,
I have accomplished extracting some data from expect. thanks for the help..
but now, I need to get the expect string.. I mean the whole line of expect
statement.. and place it together with the extracted data..
I know I am asking too much, but I have tried some ways I can come up, like
reading and matching the whole spec file, for expect string and put them on
a list. but where to place it and when to place it, Is my problem.
it would be nice if
module ExpectHook
def expect(*args, &block)
puts "your logic here"
puts expect.name #or something like this?
my_method(args, expect.name) #extraction method to output in excel file
super
end
end
thank you once again..
--
You received this message because you are subscribed to the Google Groups
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rspec/ae05d20d-2418-4748-9a71-a002ec40b279%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.