Mycoplasma bovis(Mbovis) was first detected in cattle in New Zealand (NZ) in July 2017. To prevent further spread, NZ launched a world-first National Eradication Programme in May 2018. Existing diagnostic tests for Mbovis have been applied in countries where Mbovis is endemic, for detecting infection following outbreaks of clinical disease. Diagnostic test evaluation (DTE) under NZ conditions was thus required to inform the Programme. We used Bayesian Latent Class Analysis on paired serum ELISA (ID Screen Mycoplasma bovis Indirect from IDvet) and tonsillar swabs (qPCR) for DTE in the absence of a gold standard. Tested samples were collected at slaughter between June 2018 and November 2019, from infected herds depopulated by the Programme. A first set of models evaluated the detection of active infection, i.e. the presence of Mbovis in the host. At a modified serology positivity threshold ofSP%> = 90, estimates of animal-level ELISA sensitivity was 72.8% (95% credible interval 68.5%—77.4%), respectively 97.7% (95% credible interval 97.3%—98.1%) for specificity, while the qPCR sensitivity was 45.2% (95% credible interval 41.0%—49.8%), respectively 99.6% (95% credible interval 99.4%—99.8%) for specificity. In a second set of models, prior information about ELISA specificity was obtained from the National Beef Cattle Surveillance Programme, a population theoretically free—or very low prevalence—of Mbovis. These analyses aimed to evaluate the accuracy of the ELISA test targeting prior exposure to Mbovis, rather than active infection. The specificity of the ELISA for detecting exposure to Mbovis was 99.9% (95% credible interval 99.7%—100.0%), hence near perfect at the threshold SP%=90. This specificity estimate, considerably higher than in the first set of models, was equivalent to the manufacturer’s estimate. The corresponding ELISA sensitivity estimate was 66.0% (95% credible interval 62.7%-70.7%). These results confirm that the IDvet ELISA test is an appropriate tool for determining exposure and infection status of herds, both to delimit and confirm the absence of Mbovis.