Comment #1 on issue 173 by pekka.klarck: Parser could allow "non-table comments"
http://code.google.com/p/robotframework/issues/detail?id=173

You can already now have multiple test case tables (and other tables as well) in the test data. For example the Quick Start Guide [1] uses this approach. The first cell of the table needs to have 'Test Case' (or something else for other tables) in it,
though, but if you want you can use CSS to hide the first row altogether.

[1] http://robotframework.googlecode.com/svn/trunk/doc/quickstart/quickstart.html

The problem with having multiple tables is that Robot IDE doesn't support that at all currently. More importantly, adding support for it would be _really_ big task and isn't likely to be done in foreseeable future. We will, on the other hand, enhance RIDE in the current iteration so that it will support text between different tables
(currently it ignores everything outside tables).

Another problem with RIDE is that it totally ignores comments created with '#' character [2]. This, as well as ignoring the data outside tables, is due to the fact that RIDE uses Robot Framework's internal modules for processing the data and RF
itself simply ignores everything that's not related to the actual test data.

[2] http://code.google.com/p/robotframework-ride/wiki/Comments

In general you shouldn't need comments in the test data that much. Most of the time you should be able to use so describing keyword names that they need no commenting. Test suite and test case documentations are also natural places to add some more
information.

The reason I wrote so much about RIDE is that I believe in the future that's what most people will be using for editing the test data. Adding such features to the core
framework that aren't easily supported by RIDE isn't thus a very good idea.

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