Future fusion reactors will require remote handling systems due to their neutronic activation and subsequent gamma irradiation inside the chamber. The testing and validation of these systems will be carried out in facilities specifically designed for this purpose. The aim of this paper is to describe a methodology to optimize both a bremsstrahlung generated gamma dose and its spatial distribution inside a given testing volume. Electron main beam spectrum and intensity, angular distribution of the split beams and target material and its thickness are the main considered parameters. Dose distribution at any given point of the testing volume is then obtained in order to perform a statistical analysis which establishes a criterion to choose the most suitable parameter configuration for the different irradiation needs.