Forum Discussion

Beginner's avatar
Beginner
Occasional Contributor
6 years ago

How to integrate scripts in script library to git?

Hi Team,   I have some groovy classes defined in the 'Script Library' which are being used in several tests. I need some suggestion on how I can integrate all the '.groovy' files in script librar...
  • nmrao's avatar
    6 years ago
    If there are classes, and maintainability is the issue, then you should read the below article where you can create a separate project with all the classes and put it under git/ other repository. And you can just call them from Groovy Script test steps. This will make "Script Library" obsolete, which I don't you need to bother about for your use case as long as you are achieving re-usability.

    http://rupertanderson.com/blog/1-how-to-develop-add-and-use-a-custom-groovy-library-in-soapui/