carbond.test.ServiceTest

extends HttpTest

A test harness for testing Services. This will automatically startup and shutdown a service as part of the test’s setup and teardown phase.

Instance Properties

service
Required
Description The service instance to test
serviceEnv
string
Default 'development'
Description Sets the service’s env for testing
suppressServiceLogging
boolean
Default true
Description Flag to suppress service logging to the console

Methods

setup  
Return type undefined
Description Performs setup operations for this test, namely starting the service to be tested and configuring service logging
teardown  
Return type undefined
Description Performs teardown operations for this test, namely stopping the service