A prototype for a sampling calorimeter made out of cerium fluoride crystals interleaved with tungsten plates, and read out by wavelength-shifting fibres, has been exposed to beams of electrons with energies between 20 and 150 GeV, produced by the CERN Super Proton Synchrotron accelerator complex. The performance of the prototype is presented and compared to that of a Geant4 simulation of the apparatus. Particular emphasis is given to the response uniformity across the channel front face, and to the prototypes energy resolution.