In tests we want to get an indication if data was re-fetched or re-reduced, etc.
Usually we just get the data either lazy loaded or re-created (fetched/reduced/etc).
In tests we want to know what happened so we need a secondary output.
Another option is to add a "downloaded time" or "reduction time" or something like that and test against that. Is it ok to just use "created_at"? does it matter if the time of creation will be different than the time it was added to the DB?
In tests we want to get an indication if data was re-fetched or re-reduced, etc. Usually we just get the data either lazy loaded or re-created (fetched/reduced/etc). In tests we want to know what happened so we need a secondary output.
Another option is to add a "downloaded time" or "reduction time" or something like that and test against that. Is it ok to just use "created_at"? does it matter if the time of creation will be different than the time it was added to the DB?