Comment #2 on issue 377 by pekka.klarck: Don't convert test suite, test case and keyword names unnecessarily
http://code.google.com/p/robotframework/issues/detail?id=377

Another question we need to think about is what format of the name to use in logs
(and elsewhere) when these keywords are used. The possibilities are:

1) Use the format that is set when the keyword is created. If we, for example, create user keyword 'An Example', the log file will show 'An Example' regardless is the
keyword used as 'An example', 'anexample', etc.

2) Always use the format that is used in the data when the keyword is used. If, for example, a test case has keyword 'an example', that is shown in the log regardless on how the keyword is created. If the same, or different, test case then uses 'AN
eXampLe' later, that format is used.

The main benefit of 1) is that logs are more consistent because one keyword is always used the same way. Then again with 2) logs are more consistent with the data.
Personally I prefer 1) but this can still be discussed.

Currently we use approach 1) otherwise but keywords with embedded arguments (issue 370) use 2). The latter is actually done as a workaround for name conversions explained in this issue (otherwise the keywords would always look like `My Sentence Like Keyword`). Changing the logic so that it works consistently regardless the
keyword type is a part of fixing this issue.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to