Tbuddy
Tbuddy

Reputation: 83

Common Groovy Scripts at the Project Level in ReadyAPI

Looking for a way to have common groovy scripts at a project level.

I see that one can have common scripts across ReadyAPI as a whole, but I'm looking for something on the project level.

There's lots of shared groovy code so we'd prefer having it in all in one centralized place. This is also so if someone imports the project they'd have everything they need without having to import additional libraries.

Upvotes: 0

Views: 797

Answers (2)

orcunbalcilar
orcunbalcilar

Reputation: 11

You can also have dynamic path in Script Library property as below. If you put your library folder in your project folder. Then you can commit and push your library so that all your teammates can access to it.

${projectDir}/...

Upvotes: 1

SiKing
SiKing

Reputation: 10329

The script library can be set per project, in project properties.

citation

Upvotes: 1

Related Questions