質問

I have a robot test suite that contains child test suites, and those have their own child test suites. All tests use a certain set of variables and libraries.

As far as I can tell, I have to define the variables and import the libraries in every single test suite. I hope I'm just missing a trick -- is there a better way to make these things available to all tests at all levels of the hierarchy?

Bonus points if I can do it in a way that supports keyword completion in RIDE. I'm using RIDE 1.2.3 and robot 2.8.3

役に立ちましたか?

解決

Create one main resource where you import everything and then import only that main resource in every test suite.

他のヒント

You can wire a resource file and polulate it with Keywords that can be imported into your test suites and test cases. Read the detailed explaination.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top