5 years ago

Testing responses for downloads and inline images

Posted 5 years ago by ivan

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?


Please sign in or create an account to participate in this conversation.