2016-05-12 22:12 GMT+03:00 Bryan Oakley <
bryan....@gmail.com>:
>> What do people on this list think, should we consider dropping support
>> of TSV and HTML formats?
>
> I'm in favor of removing HTML format. TSV seems dangerous -- doesn't RIDE
> save in TSV? Though, if TSV got dropped it wouldn't affect me at all; the
> last three companies where we used robot all used the plain text format.
RIDE can save using plain text, HTML or TSV. With existing files it
depends on the original format and with new files it depends on
configuration. RIDE should also be able to change the data format.
In general it ought to be pretty safe to remove TSV support because
the plain text parser can parse most TSV files and creating fully
compatible TSV is easy. With HTML we'd lose the possibility to create
test cases that look like normal test documentation with free text,
images, etc. around the test data tables. My assumption is that this
possibility isn't used too much, though, and in that case dropping the
support wouldn't be a big issue. Let us know if I'm wrong with my
assumption!
> I'm in favor of removing HTML because I think it's existence slows down the
> progress of robot. I remember years ago (2012) having a discussion about
> preserving line numbers during parsing, and the response was essentially "we
> won't add it unless we support it in all formats" which was just too big of
> a project for me to tackle. I submitted a PR for the plain text formats, but
> it never got accepted (or even acknowledged). Removing HTML removes one
> hurdle for enhancements such as this.
This is a very good example of something that would be *a lot* easier
if we'd only support the plain text format.
> Are you considering dropping rst as well? I have no opinion on that, other
> than I think it causes the same problems as HTML - it requires more effort
> to support, and potentially slows down progress on the other formats.
We currently support two reST variants: old format that is compiled to
HTML directly and then parsed as normal HTML data, and newer format
that allows embedding plain text test data into reST docs as code
blocks. The former would naturally be lost if we'd drop HTML support,
but I don't see why we could't keep the latter. It's main usage is
supporting free text, images, etc. around test data, so it could be an
alternative for those who use HTML format for the same purpose.
Cheers,
.peke
--
Agile Tester/Developer/Consultant ::
http://eliga.fi
Lead Developer of Robot Framework ::
http://robotframework.org