Comment #9 on issue 1018 by [email protected]: Alternative extension
for test data in plain text files
http://code.google.com/p/robotframework/issues/detail?id=1018
I've attached a patch that adds ".rbt" as another suffix for the plain text
format. This patch includes one small code enhancement, changes to two
pages in the user guide, and the addition of some new acceptance tests.
Output of 'hg stat':
M atest\robot\parsing\data_formats\formats_resource.txt
M doc\userguide\src\CreatingTestData\CreatingTestSuites.txt
M doc\userguide\src\CreatingTestData\TestDataSyntax.txt
M src\robot\parsing\populators.py
A atest\robot\parsing\data_formats\rbt.txt
A atest\testdata\parsing\data_formats\rbt\empty.rbt
A atest\testdata\parsing\data_formats\rbt\invalid.rbt
A atest\testdata\parsing\data_formats\rbt\sample.rbt
A atest\testdata\parsing\data_formats\rbt\with_init\__init__.rbt
A atest\testdata\parsing\data_formats\rbt\with_init\sub_suite1.rbt
A atest\testdata\parsing\data_formats\rbt\with_init\sub_suite2.rbt
A atest\testdata\parsing\data_formats\resources\rbt_resource.rbt
A atest\testdata\parsing\data_formats\resources\rbt_resource2.rbt
I don't guarantee this is perfect, but as the saying goes: "it works for
me".
If you wish to use this code, I hereby assign all ownership and copyright
to the custodians of this project.
Attachments:
rbt.diff 9.3 KB