I came across the word 'The Turkey Test' while learning about code testing. I don't know really what it means.
What is Turkey Test? Why is it called so?
I came across the word 'The Turkey Test' while learning about code testing. I don't know really what it means.
What is Turkey Test? Why is it called so?
Here is described the turkey test
http://www.moserware.com/2008/02/does-your-code-pass-turkey-test.html
It's related to internationalization.
In different countries there are different standards of writing i.e. dates (14.04.2008 in Turkey and 4/14/2008 in US) and numbers.
I have no idea why the problem has been called Turkey problem, because in Poland and many other European countries dates and numbers are also written with different manners.
Links from Google search for Turkey Problem with details are already given:
The link provided by @Luixv gives a comprehensive description of the issue.
The summary is that if your going to test your code on only one non-English locale, test it on Turkish.
This is because the Turkish has instances of most edge cases you are likely to encounter with localization, including "unusual" format strings and non-standard characters (such as a different capitalization rules for i).
Jeff Atwood has a blog article on same which is the first place I came across it myself. in summary attempting to run your application under a Turkish Locale is an excellent test of your I18n.
here's jeffs article
The so called "Turkey Test" is related to Software internationalization. One problem of globalization/internationalization are that date and time formats in diffrent cultures can differ on many levels (day/month/year order, date separator etc).
Also, Turkey has some special rules for capitalization, which can lead to problems. For example, the Turkish "i" character is a common problem for many programs which capitalize it in a wrong way.
we write dates smaller to bigger like day-month-year 28.10.2010
we Turkish use numbers like 4.567,9
we Have ö,Ö ç,Ç ş,Ş ğ,Ğ ü,Ü but we dont seprate dot from i when it bigger 'İ' and if it dont have dot, we dont add like 'ı' => 'I'.
But more important than these, people can put much stress and we have capability of undetermined bug creatibility.
If your code properly runs in Turkey, it'll probably work anywhere.