We have built and tested an electron cyclotron resonance (ECR) ion source for the Rare Isotope Accelerator of Newness (RAON) injector. Fully superconducting magnets were developed for the ECR ion source. First, an oxygen plasma was ignited, and a preliminary highly-charged oxygen beam was extracted. Next, a 100 μA beam current of oxygen 5+ was extracted when a 1 kW microwave power was injected using a 28 GHz gyrotron. Finally, an off-site test facility was proposed to test the components of the injector by using heavy-ion beams generated by the ECR ion source.