Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiline Documentation in robot framework

I want to document test scenarios, the principle behind the scenarios etc. in robot test case itself. For that the documentation need to support multiline features and formatting. Is there anyway to include documents in some formats like rst such that I will have more formatting power with easy syntax.

like image 312
Ajay Avatar asked Dec 03 '25 16:12

Ajay


1 Answers

You can spread documentation across multiple lines, and robot supports some simple markup. For information about the specific markup it supports, see Documentation formatting in the robotframework users guide.

My team uses the pipe-delimited format, and we spread documentation out like this:

| Test Case 1
| | [Documentation]
| | ... | = Example Heading =
| | ... | *bold* _italic_ 
| | ... | Lorem ipsum dolor sit amet, consectetur adipisicing elit,
| | ... | do eiusmod tempor incididunt ut labore et dolore sed magna
| | ... | aliqua. Ut enim ad minim veniam, quis nostrud exercitation 
| | ... | ullamco laboris nisi ut aliquip ex ea commodo consequat. 
like image 175
Bryan Oakley Avatar answered Dec 07 '25 18:12

Bryan Oakley