什么是火鸡测试? [英] What is The Turkey Test?

查看:29
本文介绍了什么是火鸡测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在学习代码测试时遇到了土耳其测试"这个词.我真的不知道这意味着什么.

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?

推荐答案

土耳其问题与软件国际化有关,或者仅仅是它在各种语言文化中的不当行为.

The Turkey problem is related to software internationalization or simply to its misbehavior in various language cultures.

在不同的国家/地区有不同的标准,例如书写日期(土耳其的 14.04.2008 和美国的 4/14/2008)、数字(即波兰的 123,45 和美国的 123.45)以及关于字符大写的规则(比如在土耳其用字母 i、I 和 ı).

In various countries there are different standards, for example for writing dates (14.04.2008 in Turkey and 4/14/2008 in US), numbers (i.e. 123,45 in Poland and 123.45 in USA) and rules about character uppercasing (like in Turkey with letters i, I and ı).

正如 Jeff Moser 指出的那样,一位土耳其用户指出了一个这样的问题,该用户在ToUpper() 函数.下面的评论中有更多详细信息.

As Jeff Moser pointed below one such problem was pointed out by a Turkish user who found a bug in the ToUpper() function. There are more details in comments below.

但问题不仅限于土耳其和字符串转换.

However the problem is not limited to Turkey and to string conversions.

例如,在波兰和许多其他国家,日期和数字也以不同的方式书写.

For example, in Poland and many other countries, dates and numbers are also written in a different manner.

来自Google 搜索土耳其测试的一些链接:

  • Does Your Code Pass The Turkey Test? by Jeff Moser
  • What's Wrong With Turkey? by Jeff Atwood

这篇关于什么是火鸡测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆