Java Unit Test
Internationalization Unit Testing in Java could be very useful if we would have corresponding tools for that. Almost every aspect of an application can be tested now with well developed frameworks and methodology:
- pre-conditions and post-conditions
- internal behavior and interactions
- database structures and access to them
- xml and other structures
- communication protocols
The problem is that developers still don't have any possibility to test such a simple thing like internationalization. You may ask why? The answer is trivial: developers test only such parts, which they know how to test. Software Internationalization is a very special area and most programmers just never thought about test tools for it.
We worked in the area of java internationalization and general software internationalization for more than 8 years. We have seen a lot of internationalization problems and have found ways to detect them automatically. So now we are glad to provide a possibility for the java community to do Java Unit Testing including automated internationalization quality assurance.
For the Unit Testing Java provides 2 widely used frameworks: JUnit and TestNG.
Check your files with Internationalization Inspector and download generated Unit Test among other results. Just include it in your tests and quality of internationalization in your project will be always assured.
Below you can see an example Java Unit Test, which checks internationalization. Try it now!