commandbox.system.modules_app.testbox-commands.models

Class TestingService

lucee.Component
    extended by commandbox.system.modules_app.testbox-commands.models.TestingService

Copyright Since 2014 CommandBox by Ortus Solutions, Corp www.coldbox.org | www.ortussolutions.com I handle working with TestBox

Class Attributes:
  • singleton
  •  
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
  • author : Brad Wood, Luis Majano, Denny Valliant
  •  
    Property Summary
    type property default serializable required
    any packageService


    • access = public
    • returntype = any
    • inject = PackageService
    true false
    Constructor Summary
    init()
          Constructor.
    Method Summary
    string getPackageService()
    any getTestBoxRunner(string directory, [string slug=''])
         Gets a TestBox runner URL from box.
    any setPackageService(any packageService)
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()

    Constructor


    Property Detail

    packageService

    property any packageService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - PackageService
    serializable - true

    Method Detail

    getPackageService

    public string getPackageService()


    getTestBoxRunner

    public any getTestBoxRunner(string directory, [string slug=''])

    Gets a TestBox runner URL from box.json with an optional slug to look up. If no slug is passed, the first runner will be used

    Parameters:
    directory - The directory that is the root of the package
    slug - An optional runner slug to look for in the list of runners

    setPackageService

    public any setPackageService(any packageService)

    Parameters:
    packageService