Skip to content

Multiproject Helpers

Danny Thomas edited this page Jun 1, 2016 · 1 revision

MultiProjectHelper

MultiProjectHelper can create various sub-projects using the ProjectBuilder.

Usage for MultiProjectHelper:

def helper = new MultiProjectHelper(project)
Project sub = helper.addSubproject('sub')

MultiProjectIntegrationHelper

MultiProjectIntegrationHelper can create sub-projects using our IntegrationSpec.

Usage for MultiProjectIntegrationHelper:

class MySpec extends IntegrationSpec {
    def helper = new MultiProjectIntegrationHelper(projectDir, setingsFile)

    def 'my test method'() {
        File subDirectory = helper.addSubproject('sub1')
    }
}
Clone this wiki locally