You will always need to run tests when you do a check-in.
If you change the DTD, be sure to read and follow Updating DTDs first.
If you added a new feature or fixed a significant bug, add a unit test for it.
See unittest/NumberingSystemsTest as an example.
Remember to add to unittest/TestAll
Run TestAll -e
These are the unit tests in exhaustive mode
If you are doing something you know to be simple, you could do the shorter run of just TestAll
Run ConsoleCheckCLDR -e -z final_testing -S common,seed
This runs the same set of test that the Survey Tool does.
If you know what you are doing, you can run a set of filtered tests.
Running tests on the command line
[TODO: add more commands here; can't we automate all this into a single build rule for ant?] TODO: TODOL ticket:8864
[TODO: add more tips here]
We use a lot of regexes!
There is org.unicode.cldr.util.RegexUtilities.showMismatch (and related methods) that are really useful in debugging cases where regexes fail. You hand it a pattern or matcher and a string, and it shows how far the regex got before it failed.
To debug RegexLookup, there is a special call you can make where you pass in a set. On return, that set is filled with a set of strings showing how far each of the regex patterns progressed. You can thus see why a string didn't match as expected.