I am not sure i understood what you are trying to do, but i you can test if the downloaded file exist in the folder.
May 23, 2015
3
Level 1
Testing responses for downloads and inline images
I'm currently using the Laravel and REST api modules in Codeception to test and the tools have been great so far.
I have several routes that return either download or inline images and I currently don't have a strong way of testing, other than checking no errors have occurred.
Ideally I would like to perform a file compare with the result.
Has anyone approached this issue and have any tips on taking this forward?
Thanks
Please or to participate in this conversation.