It seems like the result of running the test is not available on the example object during the after callback hook. Is there another place to hook into RSpec where that information will be set?
To give some back story, I'm using RSpec to help teach coding, and I'd like to have the test run send stats to a server every time a student runs a test. Specifically, did the test pass or fail on this run. I figured the after(:example) hook would be the best place to do this, but it seems that the data is not part of the object just yet. Where else can I grab this data? -- 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/af99e44e-14be-4dc5-84df-06050514b465%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
