ivan
4 years ago
136
3
Testing

Testing responses for downloads and inline images

Posted 4 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?

Thanks

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