Users Pricing

forum

Home Forums change default locale for junit test – MindStick

change default locale for junit test

Anonymous User 3242 29 Dec 2014
How do you change the default locale for a JUnit Test. Current locale is en. I want to test for es_ES. I tried:

System.setProperty("locale", "es_ES");
But this doesn't seem to work.

1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md