-
Notifications
You must be signed in to change notification settings - Fork 56
Description
We currently have decent unit test coverage of the core functionality, which is mostly math functions.
In order to have some end-to-end testing we need test images. Ideally we'd need one or several raw images for each camera we have in the database, and the corresponding reference .exr images. That is a lot of data to obtain, host, and to get onto the CI runners.
We should look at potentially creating synthetic images for testing on the fly. For the camera which we have spectral sensitivity curves for, we can predict the pixel values the camera would have under given lighting conditions. We could look at generating fake colour chart images on the fly, pass them through rawtoaces and look how the output colour values match up with the expected values.