Module : test
MockConfig | Configuration of the function to be mocked. |
TestConfig | Configuration set for test functions. |
assertEquals | Asserts whether the given values are equal. If it is not, an AssertError is thrown with the given errorMessage. |
assertFail | Assert failure is triggered based on user discretion. AssertError is thrown with the given errorMessage. |
assertFalse | Asserts whether the given condition is false. If it is not, a AssertError is thrown with the given errorMessage. |
assertNotEquals | Asserts whether the given values are not equal. If it is equal, an AssertError is thrown with the given errorMessage. |
assertTrue | Asserts whether the given condition is true. If it is not, a AssertError is thrown with the given errorMessage. |
createBallerinaError | Creates an AssertError with custom message and category. |
startServiceSkeleton | Start a service skeleton from a given OpenApi definition in the given ballerina module. |
startServices | Starts all the services defined in the module specified in the 'moduleName' argument. |
stopServiceSkeleton | Stop a service skeleton and cleanup created directories of a given ballerina module. |
stopServices | Stops all the services defined in the module specified in the 'moduleName' argument. |
AfterEach | Identifies afterTest function. |
AfterSuite | Identifies afterSuite function. |
BeforeEach | Identifies beforeTest function. |
BeforeSuite | Identifies beforeSuite function. |
Config | |
Mock |