omar hashmi
omar hashmi

Reputation: 19

how to stich together multiple test files in robot framework

I have multiple test case files in robot framework so I want to run the test files and have logs. What would be the most efficient and maintainable way of running .robot files and having readable logs? I know you can put all the files in a folder and run pybot foldername but it's not very maintable in a sense that files need to be put in an order in my case so I m looking for somehting different and easy to maintaine.

Upvotes: 1

Views: 1539

Answers (1)

ILostMySpoon
ILostMySpoon

Reputation: 2409

Your best bet would probably be maintaining them in a folder (test suite).

If you're worried about the execution order of the test cases/suites, you can prepend a prefix to the names. For example:

01__a_suite
|_____ 01__some_tests.txt
|_____ 02__more_tests.txt 

02__another_suite
|_____ 01__some_tests.txt
|_____ 02__more_tests.txt 

Upvotes: 1

Related Questions