Status: Accepted
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 375 by pekka.klarck: New space separated plain text test data format
http://code.google.com/p/robotframework/issues/detail?id=375

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

--
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