Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rspec Testing of real time results through mTurk

I am creating hits at mTurk through Rspec test code but at the same time i need to test the results which must be send back from mTurk. In order to save complexity testing for every test i'm using VCR to record the HTTP Requests in a cassette. How can i implement this test??

like image 620
Manish Das Avatar asked Jun 07 '11 03:06

Manish Das


1 Answers

well i did some hack for that, i used debugger to hold my rspec test until results comes back from mTurk and then it get stored in VCR. so i have to do this kinda hack once and then after that VCR works for me

like image 166
Manish Das Avatar answered Oct 03 '22 00:10

Manish Das