On Thursday, July 17, 2014 8:12:11 PM UTC-7, jeane wrote: > > 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.. >
What do you mean by the "expect string"? Can you post an example spec and what you want to extract from it? -- 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/0b21457a-9103-4691-8518-fa0bac4628dd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
