-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
Originally submitted to Google Code by @pekkaklarck on 6 Aug 2009
We already support TSV format [1] which works pretty nicely with normal
text editors and other plain text tools. The biggest problems of using tab
as the delimiter are:
- It's not easy to separate tab from spaces visually.
- Data that should be in same column as data in above/below row moves if
more text is added before it. This makes it hard to construct data-driven
tests so that the data is represented clearly.
We could easily add a new format that would work otherwise similarly as TSV
but instead of tab the delimited would be two or more spaces. We cannot use
only one space because the actual data contains spaces, but two or more
works because we already require consecutive and leading/trailing spaces to
be escaped [2] and empty cells can be escaped with ${EMPTY} or a single
backslash.
[1]
http://robotframework.googlecode.com/svn/tags/robotframework-2.1/doc/userguide/RobotFrameworkUserGuide.html#tsv-format
[2]
http://robotframework.googlecode.com/svn/tags/robotframework-2.1/doc/userguide/RobotFrameworkUserGuide.html#handling-whitespace