hotstaq 0.5.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/.eslintignore +17 -0
  2. package/.eslintrc.js +11 -0
  3. package/.vscode/launch.json +199 -0
  4. package/.vscode/settings.json +2 -0
  5. package/.vscode/tasks.json +78 -0
  6. package/CONTRIBUTING.md +157 -0
  7. package/README.md +126 -0
  8. package/bin/hotstaq +3 -0
  9. package/bin/hotstaq.cmd +1 -0
  10. package/build/src/Hot.d.ts +167 -0
  11. package/build/src/Hot.d.ts.map +1 -0
  12. package/build/src/Hot.js +365 -0
  13. package/build/src/Hot.js.map +1 -0
  14. package/build/src/HotAPI.d.ts +130 -0
  15. package/build/src/HotAPI.d.ts.map +1 -0
  16. package/build/src/HotAPI.js +353 -0
  17. package/build/src/HotAPI.js.map +1 -0
  18. package/build/src/HotAgentAPI.d.ts +22 -0
  19. package/build/src/HotAgentAPI.d.ts.map +1 -0
  20. package/build/src/HotAgentAPI.js +85 -0
  21. package/build/src/HotAgentAPI.js.map +1 -0
  22. package/build/src/HotAgentRoute.d.ts +17 -0
  23. package/build/src/HotAgentRoute.d.ts.map +1 -0
  24. package/build/src/HotAgentRoute.js +109 -0
  25. package/build/src/HotAgentRoute.js.map +1 -0
  26. package/build/src/HotBuilder.d.ts +52 -0
  27. package/build/src/HotBuilder.d.ts.map +1 -0
  28. package/build/src/HotBuilder.js +239 -0
  29. package/build/src/HotBuilder.js.map +1 -0
  30. package/build/src/HotClient.d.ts +31 -0
  31. package/build/src/HotClient.d.ts.map +1 -0
  32. package/build/src/HotClient.js +19 -0
  33. package/build/src/HotClient.js.map +1 -0
  34. package/build/src/HotComponent.d.ts +118 -0
  35. package/build/src/HotComponent.d.ts.map +1 -0
  36. package/build/src/HotComponent.js +89 -0
  37. package/build/src/HotComponent.js.map +1 -0
  38. package/build/src/HotCreator.d.ts +92 -0
  39. package/build/src/HotCreator.d.ts.map +1 -0
  40. package/build/src/HotCreator.js +465 -0
  41. package/build/src/HotCreator.js.map +1 -0
  42. package/build/src/HotDB.d.ts +69 -0
  43. package/build/src/HotDB.d.ts.map +1 -0
  44. package/build/src/HotDB.js +29 -0
  45. package/build/src/HotDB.js.map +1 -0
  46. package/build/src/HotDBConnectionInterface.d.ts +40 -0
  47. package/build/src/HotDBConnectionInterface.d.ts.map +1 -0
  48. package/build/src/HotDBConnectionInterface.js +3 -0
  49. package/build/src/HotDBConnectionInterface.js.map +1 -0
  50. package/build/src/HotFile.d.ts +134 -0
  51. package/build/src/HotFile.d.ts.map +1 -0
  52. package/build/src/HotFile.js +454 -0
  53. package/build/src/HotFile.js.map +1 -0
  54. package/build/src/HotHTTPServer.d.ts +162 -0
  55. package/build/src/HotHTTPServer.d.ts.map +1 -0
  56. package/build/src/HotHTTPServer.js +863 -0
  57. package/build/src/HotHTTPServer.js.map +1 -0
  58. package/build/src/HotIO.d.ts +39 -0
  59. package/build/src/HotIO.d.ts.map +1 -0
  60. package/build/src/HotIO.js +195 -0
  61. package/build/src/HotIO.js.map +1 -0
  62. package/build/src/HotLog.d.ts +60 -0
  63. package/build/src/HotLog.d.ts.map +1 -0
  64. package/build/src/HotLog.js +126 -0
  65. package/build/src/HotLog.js.map +1 -0
  66. package/build/src/HotPage.d.ts +125 -0
  67. package/build/src/HotPage.d.ts.map +1 -0
  68. package/build/src/HotPage.js +178 -0
  69. package/build/src/HotPage.js.map +1 -0
  70. package/build/src/HotRoute.d.ts +82 -0
  71. package/build/src/HotRoute.d.ts.map +1 -0
  72. package/build/src/HotRoute.js +83 -0
  73. package/build/src/HotRoute.js.map +1 -0
  74. package/build/src/HotRouteMethod.d.ts +129 -0
  75. package/build/src/HotRouteMethod.d.ts.map +1 -0
  76. package/build/src/HotRouteMethod.js +84 -0
  77. package/build/src/HotRouteMethod.js.map +1 -0
  78. package/build/src/HotServer.d.ts +152 -0
  79. package/build/src/HotServer.d.ts.map +1 -0
  80. package/build/src/HotServer.js +109 -0
  81. package/build/src/HotServer.js.map +1 -0
  82. package/build/src/HotSetAsWeb.d.ts +2 -0
  83. package/build/src/HotSetAsWeb.d.ts.map +1 -0
  84. package/build/src/HotSetAsWeb.js +5 -0
  85. package/build/src/HotSetAsWeb.js.map +1 -0
  86. package/build/src/HotStaq.d.ts +601 -0
  87. package/build/src/HotStaq.d.ts.map +1 -0
  88. package/build/src/HotStaq.js +1258 -0
  89. package/build/src/HotStaq.js.map +1 -0
  90. package/build/src/HotStaqWeb.d.ts +18 -0
  91. package/build/src/HotStaqWeb.d.ts.map +1 -0
  92. package/build/src/HotStaqWeb.js +44 -0
  93. package/build/src/HotStaqWeb.js.map +1 -0
  94. package/build/src/HotTestDriver.d.ts +63 -0
  95. package/build/src/HotTestDriver.d.ts.map +1 -0
  96. package/build/src/HotTestDriver.js +187 -0
  97. package/build/src/HotTestDriver.js.map +1 -0
  98. package/build/src/HotTestElement.d.ts +71 -0
  99. package/build/src/HotTestElement.d.ts.map +1 -0
  100. package/build/src/HotTestElement.js +37 -0
  101. package/build/src/HotTestElement.js.map +1 -0
  102. package/build/src/HotTestMap.d.ts +83 -0
  103. package/build/src/HotTestMap.d.ts.map +1 -0
  104. package/build/src/HotTestMap.js +58 -0
  105. package/build/src/HotTestMap.js.map +1 -0
  106. package/build/src/HotTestSeleniumDriver.d.ts +82 -0
  107. package/build/src/HotTestSeleniumDriver.d.ts.map +1 -0
  108. package/build/src/HotTestSeleniumDriver.js +398 -0
  109. package/build/src/HotTestSeleniumDriver.js.map +1 -0
  110. package/build/src/HotTester.d.ts +188 -0
  111. package/build/src/HotTester.d.ts.map +1 -0
  112. package/build/src/HotTester.js +623 -0
  113. package/build/src/HotTester.js.map +1 -0
  114. package/build/src/HotTesterAPI.d.ts +15 -0
  115. package/build/src/HotTesterAPI.d.ts.map +1 -0
  116. package/build/src/HotTesterAPI.js +161 -0
  117. package/build/src/HotTesterAPI.js.map +1 -0
  118. package/build/src/HotTesterMocha.d.ts +50 -0
  119. package/build/src/HotTesterMocha.d.ts.map +1 -0
  120. package/build/src/HotTesterMocha.js +205 -0
  121. package/build/src/HotTesterMocha.js.map +1 -0
  122. package/build/src/HotTesterMochaSelenium.d.ts +70 -0
  123. package/build/src/HotTesterMochaSelenium.d.ts.map +1 -0
  124. package/build/src/HotTesterMochaSelenium.js +257 -0
  125. package/build/src/HotTesterMochaSelenium.js.map +1 -0
  126. package/build/src/HotTesterServer.d.ts +114 -0
  127. package/build/src/HotTesterServer.d.ts.map +1 -0
  128. package/build/src/HotTesterServer.js +575 -0
  129. package/build/src/HotTesterServer.js.map +1 -0
  130. package/build/src/api.d.ts +33 -0
  131. package/build/src/api.d.ts.map +1 -0
  132. package/build/src/api.js +78 -0
  133. package/build/src/api.js.map +1 -0
  134. package/build/src/cli.d.ts +2 -0
  135. package/build/src/cli.d.ts.map +1 -0
  136. package/build/src/cli.js +935 -0
  137. package/build/src/cli.js.map +1 -0
  138. package/build/src/schemas/HotDBInflux.d.ts +63 -0
  139. package/build/src/schemas/HotDBInflux.d.ts.map +1 -0
  140. package/build/src/schemas/HotDBInflux.js +239 -0
  141. package/build/src/schemas/HotDBInflux.js.map +1 -0
  142. package/build/src/schemas/HotDBMigration.d.ts +19 -0
  143. package/build/src/schemas/HotDBMigration.d.ts.map +1 -0
  144. package/build/src/schemas/HotDBMigration.js +15 -0
  145. package/build/src/schemas/HotDBMigration.js.map +1 -0
  146. package/build/src/schemas/HotDBMySQL.d.ts +65 -0
  147. package/build/src/schemas/HotDBMySQL.d.ts.map +1 -0
  148. package/build/src/schemas/HotDBMySQL.js +387 -0
  149. package/build/src/schemas/HotDBMySQL.js.map +1 -0
  150. package/build/src/schemas/HotDBSchema.d.ts +15 -0
  151. package/build/src/schemas/HotDBSchema.d.ts.map +1 -0
  152. package/build/src/schemas/HotDBSchema.js +19 -0
  153. package/build/src/schemas/HotDBSchema.js.map +1 -0
  154. package/build/src/schemas/influx/InfluxSchema.d.ts +14 -0
  155. package/build/src/schemas/influx/InfluxSchema.d.ts.map +1 -0
  156. package/build/src/schemas/influx/InfluxSchema.js +33 -0
  157. package/build/src/schemas/influx/InfluxSchema.js.map +1 -0
  158. package/build/src/schemas/mysql/MySQLSchema.d.ts +39 -0
  159. package/build/src/schemas/mysql/MySQLSchema.d.ts.map +1 -0
  160. package/build/src/schemas/mysql/MySQLSchema.js +151 -0
  161. package/build/src/schemas/mysql/MySQLSchema.js.map +1 -0
  162. package/build/src/schemas/mysql/MySQLSchemaField.d.ts +168 -0
  163. package/build/src/schemas/mysql/MySQLSchemaField.d.ts.map +1 -0
  164. package/build/src/schemas/mysql/MySQLSchemaField.js +260 -0
  165. package/build/src/schemas/mysql/MySQLSchemaField.js.map +1 -0
  166. package/build/src/schemas/mysql/MySQLSchemaTable.d.ts +49 -0
  167. package/build/src/schemas/mysql/MySQLSchemaTable.d.ts.map +1 -0
  168. package/build/src/schemas/mysql/MySQLSchemaTable.js +310 -0
  169. package/build/src/schemas/mysql/MySQLSchemaTable.js.map +1 -0
  170. package/build-web/HotStaq.js +2 -0
  171. package/build-web/HotStaq.min.js +125 -0
  172. package/builder/docker/Dockerfile.linux.gen +42 -0
  173. package/builder/docker/README.md +36 -0
  174. package/builder/docker/app/start.sh +8 -0
  175. package/builder/docker/dockerignore +3 -0
  176. package/builder/docker/scripts/build.bat +11 -0
  177. package/builder/docker/scripts/build.sh +11 -0
  178. package/builder/docker/scripts/start-app.bat +7 -0
  179. package/builder/docker/scripts/start-app.sh +7 -0
  180. package/builder/docker/scripts/stop-app.bat +5 -0
  181. package/builder/docker/scripts/stop-app.sh +5 -0
  182. package/builder/docker-compose/docker-compose.gen.yaml +41 -0
  183. package/builder/docker-compose/env-skeleton +4 -0
  184. package/creator/project/.vscode/launch.json +59 -0
  185. package/creator/project/README.md +20 -0
  186. package/creator/project/gitignore +118 -0
  187. package/creator/project/npmignore +118 -0
  188. package/creator/public/api-test.hott +28 -0
  189. package/creator/public/index.hott +12 -0
  190. package/creator/ts/src/AppAPI.ts +30 -0
  191. package/creator/ts/src/HelloWorld.ts +39 -0
  192. package/creator/ts/src/WebExport.ts +7 -0
  193. package/creator/ts/tsconfig-web.json +73 -0
  194. package/creator/ts/tsconfig.json +73 -0
  195. package/creator/ts/webpack-api.config.js +57 -0
  196. package/dbstart.sh +19 -0
  197. package/dbstop.sh +4 -0
  198. package/docs/.nojekyll +1 -0
  199. package/docs/README.md +128 -0
  200. package/docs/classes/Hot.md +477 -0
  201. package/docs/classes/HotAPI.md +369 -0
  202. package/docs/classes/HotClient.md +95 -0
  203. package/docs/classes/HotComponent.md +279 -0
  204. package/docs/classes/HotDB.md +247 -0
  205. package/docs/classes/HotDBInflux.md +404 -0
  206. package/docs/classes/HotDBMigration.md +80 -0
  207. package/docs/classes/HotDBMySQL.md +310 -0
  208. package/docs/classes/HotDBSchema.md +51 -0
  209. package/docs/classes/HotFile.md +353 -0
  210. package/docs/classes/HotHTTPServer.md +700 -0
  211. package/docs/classes/HotLog.md +162 -0
  212. package/docs/classes/HotPage.md +357 -0
  213. package/docs/classes/HotRoute.md +312 -0
  214. package/docs/classes/HotRouteMethod.md +271 -0
  215. package/docs/classes/HotServer.md +311 -0
  216. package/docs/classes/HotStaq.md +1153 -0
  217. package/docs/classes/HotTestDestination.md +58 -0
  218. package/docs/classes/HotTestDriver.md +332 -0
  219. package/docs/classes/HotTestElement.md +88 -0
  220. package/docs/classes/HotTestElementOptions.md +71 -0
  221. package/docs/classes/HotTestMap.md +92 -0
  222. package/docs/classes/HotTestSeleniumDriver.md +529 -0
  223. package/docs/classes/HotTester.md +653 -0
  224. package/docs/classes/HotTesterAPI.md +493 -0
  225. package/docs/classes/HotTesterMocha.md +843 -0
  226. package/docs/classes/HotTesterMochaSelenium.md +896 -0
  227. package/docs/classes/HotTesterServer.md +633 -0
  228. package/docs/classes/InfluxSchema.md +74 -0
  229. package/docs/classes/MySQLSchema.md +199 -0
  230. package/docs/classes/MySQLSchemaField.md +330 -0
  231. package/docs/classes/MySQLSchemaTable.md +176 -0
  232. package/docs/enums/ConnectionStatus.md +43 -0
  233. package/docs/enums/DeveloperMode.md +38 -0
  234. package/docs/enums/EventExecutionType.md +43 -0
  235. package/docs/enums/HTTPMethod.md +32 -0
  236. package/docs/enums/HotDBGenerationType.md +30 -0
  237. package/docs/enums/HotLogLevel.md +88 -0
  238. package/docs/interfaces/HotDBConnectionInterface.md +116 -0
  239. package/docs/interfaces/HotDestination.md +62 -0
  240. package/docs/interfaces/HotSite.md +187 -0
  241. package/docs/interfaces/HotSiteMapPath.md +37 -0
  242. package/docs/interfaces/HotSiteRoute.md +79 -0
  243. package/docs/interfaces/HotStartOptions.md +115 -0
  244. package/docs/interfaces/HotTestPage.md +44 -0
  245. package/docs/interfaces/HotTestStop.md +62 -0
  246. package/docs/interfaces/IHotComponent.md +135 -0
  247. package/docs/interfaces/IHotStaq.md +118 -0
  248. package/docs/interfaces/IHotTestElement.md +54 -0
  249. package/docs/interfaces/IHotTestElementOptions.md +43 -0
  250. package/docs/interfaces/MySQLResults.md +43 -0
  251. package/docs/interfaces/MySQLSchemaFieldResult.md +75 -0
  252. package/docs/modules.md +162 -0
  253. package/package.json +65 -0
  254. package/selenium-start.sh +7 -0
  255. package/selenium-stop.sh +3 -0
  256. package/src/Hot.ts +319 -0
  257. package/src/HotAPI.ts +378 -0
  258. package/src/HotAgentAPI.ts +43 -0
  259. package/src/HotAgentRoute.ts +44 -0
  260. package/src/HotBuilder.ts +221 -0
  261. package/src/HotClient.ts +40 -0
  262. package/src/HotComponent.ts +158 -0
  263. package/src/HotCreator.ts +482 -0
  264. package/src/HotDB.ts +79 -0
  265. package/src/HotDBConnectionInterface.ts +40 -0
  266. package/src/HotFile.ts +617 -0
  267. package/src/HotHTTPServer.ts +954 -0
  268. package/src/HotIO.ts +128 -0
  269. package/src/HotLog.ts +158 -0
  270. package/src/HotPage.ts +206 -0
  271. package/src/HotRoute.ts +137 -0
  272. package/src/HotRouteMethod.ts +216 -0
  273. package/src/HotServer.ts +211 -0
  274. package/src/HotSetAsWeb.ts +3 -0
  275. package/src/HotStaq.ts +1877 -0
  276. package/src/HotStaqWeb.ts +59 -0
  277. package/src/HotTestDriver.ts +172 -0
  278. package/src/HotTestElement.ts +97 -0
  279. package/src/HotTestMap.ts +130 -0
  280. package/src/HotTestSeleniumDriver.ts +374 -0
  281. package/src/HotTester.ts +697 -0
  282. package/src/HotTesterAPI.ts +126 -0
  283. package/src/HotTesterMocha.ts +133 -0
  284. package/src/HotTesterMochaSelenium.ts +189 -0
  285. package/src/HotTesterServer.ts +551 -0
  286. package/src/api.ts +102 -0
  287. package/src/cli.ts +1147 -0
  288. package/src/schemas/HotDBInflux.ts +211 -0
  289. package/src/schemas/HotDBMigration.ts +24 -0
  290. package/src/schemas/HotDBMySQL.ts +312 -0
  291. package/src/schemas/HotDBSchema.ts +21 -0
  292. package/src/schemas/influx/InfluxSchema.ts +19 -0
  293. package/src/schemas/mysql/MySQLSchema.ts +90 -0
  294. package/src/schemas/mysql/MySQLSchemaField.ts +408 -0
  295. package/src/schemas/mysql/MySQLSchemaTable.ts +353 -0
  296. package/tsconfig-web.json +74 -0
  297. package/tsconfig.json +73 -0
  298. package/webpack.config.js +51 -0
  299. package/webpack.config.tests.js +56 -0
@@ -0,0 +1,843 @@
1
+ [hotstaq](../README.md) / [Modules](../modules.md) / HotTesterMocha
2
+
3
+ # Class: HotTesterMocha
4
+
5
+ The tester that uses Mocha to executes all tests.
6
+
7
+ ## Hierarchy
8
+
9
+ - [`HotTester`](HotTester.md)
10
+
11
+ ↳ **`HotTesterMocha`**
12
+
13
+ ## Table of contents
14
+
15
+ ### Constructors
16
+
17
+ - [constructor](HotTesterMocha.md#constructor)
18
+
19
+ ### Properties
20
+
21
+ - [afterAll](HotTesterMocha.md#afterall)
22
+ - [baseUrl](HotTesterMocha.md#baseurl)
23
+ - [beforeAll](HotTesterMocha.md#beforeall)
24
+ - [driver](HotTesterMocha.md#driver)
25
+ - [finishedLoading](HotTesterMocha.md#finishedloading)
26
+ - [hasBeenDestroyed](HotTesterMocha.md#hasbeendestroyed)
27
+ - [hasBeenSetup](HotTesterMocha.md#hasbeensetup)
28
+ - [mocha](HotTesterMocha.md#mocha)
29
+ - [name](HotTesterMocha.md#name)
30
+ - [processor](HotTesterMocha.md#processor)
31
+ - [suite](HotTesterMocha.md#suite)
32
+ - [testMaps](HotTesterMocha.md#testmaps)
33
+ - [timeout](HotTesterMocha.md#timeout)
34
+
35
+ ### Methods
36
+
37
+ - [destroy](HotTesterMocha.md#destroy)
38
+ - [execute](HotTesterMocha.md#execute)
39
+ - [executeCommand](HotTesterMocha.md#executecommand)
40
+ - [executeTestAPIPath](HotTesterMocha.md#executetestapipath)
41
+ - [executeTestAPIPaths](HotTesterMocha.md#executetestapipaths)
42
+ - [executeTestPagePath](HotTesterMocha.md#executetestpagepath)
43
+ - [executeTestPagePaths](HotTesterMocha.md#executetestpagepaths)
44
+ - [getTestPage](HotTesterMocha.md#gettestpage)
45
+ - [getTestPath](HotTesterMocha.md#gettestpath)
46
+ - [onCommand](HotTesterMocha.md#oncommand)
47
+ - [onExecute](HotTesterMocha.md#onexecute)
48
+ - [onFinishedLoading](HotTesterMocha.md#onfinishedloading)
49
+ - [onTestAPIPathEnd](HotTesterMocha.md#ontestapipathend)
50
+ - [onTestAPIPathStart](HotTesterMocha.md#ontestapipathstart)
51
+ - [onTestEnd](HotTesterMocha.md#ontestend)
52
+ - [onTestPagePathEnd](HotTesterMocha.md#ontestpagepathend)
53
+ - [onTestPagePathStart](HotTesterMocha.md#ontestpagepathstart)
54
+ - [onTestStart](HotTesterMocha.md#onteststart)
55
+ - [setup](HotTesterMocha.md#setup)
56
+ - [waitForData](HotTesterMocha.md#waitfordata)
57
+ - [interpretDestination](HotTesterMocha.md#interpretdestination)
58
+
59
+ ## Constructors
60
+
61
+ ### constructor
62
+
63
+ • **new HotTesterMocha**(`processor`, `name`, `baseUrl`, `driver`, `testMaps?`, `beforeAll?`, `afterAll?`)
64
+
65
+ #### Parameters
66
+
67
+ | Name | Type | Default value |
68
+ | :------ | :------ | :------ |
69
+ | `processor` | [`HotStaq`](HotStaq.md) | `undefined` |
70
+ | `name` | `string` | `undefined` |
71
+ | `baseUrl` | `string` | `undefined` |
72
+ | `driver` | [`HotTestDriver`](HotTestDriver.md) | `undefined` |
73
+ | `testMaps` | `Object` | `{}` |
74
+ | `beforeAll` | () => `Promise`<`void`\> | `null` |
75
+ | `afterAll` | () => `Promise`<`void`\> | `null` |
76
+
77
+ #### Overrides
78
+
79
+ [HotTester](HotTester.md).[constructor](HotTester.md#constructor)
80
+
81
+ #### Defined in
82
+
83
+ [HotTesterMocha.ts:35](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTesterMocha.ts#L35)
84
+
85
+ ## Properties
86
+
87
+ ### afterAll
88
+
89
+ • **afterAll**: () => `Promise`<`void`\>
90
+
91
+ #### Type declaration
92
+
93
+ ▸ (): `Promise`<`void`\>
94
+
95
+ The Mocha afterAll event to call before any tests are executed.
96
+
97
+ ##### Returns
98
+
99
+ `Promise`<`void`\>
100
+
101
+ #### Defined in
102
+
103
+ [HotTesterMocha.ts:33](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTesterMocha.ts#L33)
104
+
105
+ ___
106
+
107
+ ### baseUrl
108
+
109
+ • **baseUrl**: `string`
110
+
111
+ The base url that will construct future urls.
112
+
113
+ #### Inherited from
114
+
115
+ [HotTester](HotTester.md).[baseUrl](HotTester.md#baseurl)
116
+
117
+ #### Defined in
118
+
119
+ [HotTester.ts:74](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L74)
120
+
121
+ ___
122
+
123
+ ### beforeAll
124
+
125
+ • **beforeAll**: () => `Promise`<`void`\>
126
+
127
+ #### Type declaration
128
+
129
+ ▸ (): `Promise`<`void`\>
130
+
131
+ The Mocha beforeAll event to call before any tests are executed.
132
+
133
+ ##### Returns
134
+
135
+ `Promise`<`void`\>
136
+
137
+ #### Defined in
138
+
139
+ [HotTesterMocha.ts:29](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTesterMocha.ts#L29)
140
+
141
+ ___
142
+
143
+ ### driver
144
+
145
+ • **driver**: [`HotTestDriver`](HotTestDriver.md)
146
+
147
+ The driver to use when running tests.
148
+
149
+ #### Inherited from
150
+
151
+ [HotTester](HotTester.md).[driver](HotTester.md#driver)
152
+
153
+ #### Defined in
154
+
155
+ [HotTester.ts:86](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L86)
156
+
157
+ ___
158
+
159
+ ### finishedLoading
160
+
161
+ • **finishedLoading**: `boolean`
162
+
163
+ Has this tester finished loading?
164
+
165
+ #### Inherited from
166
+
167
+ [HotTester](HotTester.md).[finishedLoading](HotTester.md#finishedloading)
168
+
169
+ #### Defined in
170
+
171
+ [HotTester.ts:90](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L90)
172
+
173
+ ___
174
+
175
+ ### hasBeenDestroyed
176
+
177
+ • **hasBeenDestroyed**: `boolean`
178
+
179
+ Has this tester finished setting up?
180
+
181
+ #### Inherited from
182
+
183
+ [HotTester](HotTester.md).[hasBeenDestroyed](HotTester.md#hasbeendestroyed)
184
+
185
+ #### Defined in
186
+
187
+ [HotTester.ts:98](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L98)
188
+
189
+ ___
190
+
191
+ ### hasBeenSetup
192
+
193
+ • **hasBeenSetup**: `boolean`
194
+
195
+ Has this tester finished setting up?
196
+
197
+ #### Inherited from
198
+
199
+ [HotTester](HotTester.md).[hasBeenSetup](HotTester.md#hasbeensetup)
200
+
201
+ #### Defined in
202
+
203
+ [HotTester.ts:94](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L94)
204
+
205
+ ___
206
+
207
+ ### mocha
208
+
209
+ • **mocha**: `Mocha`
210
+
211
+ The mocha instance to run.
212
+
213
+ #### Defined in
214
+
215
+ [HotTesterMocha.ts:17](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTesterMocha.ts#L17)
216
+
217
+ ___
218
+
219
+ ### name
220
+
221
+ • **name**: `string`
222
+
223
+ The tester name.
224
+
225
+ #### Inherited from
226
+
227
+ [HotTester](HotTester.md).[name](HotTester.md#name)
228
+
229
+ #### Defined in
230
+
231
+ [HotTester.ts:70](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L70)
232
+
233
+ ___
234
+
235
+ ### processor
236
+
237
+ • **processor**: [`HotStaq`](HotStaq.md)
238
+
239
+ The associated processor.
240
+
241
+ #### Inherited from
242
+
243
+ [HotTester](HotTester.md).[processor](HotTester.md#processor)
244
+
245
+ #### Defined in
246
+
247
+ [HotTester.ts:78](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L78)
248
+
249
+ ___
250
+
251
+ ### suite
252
+
253
+ • **suite**: `Suite`
254
+
255
+ The suite to execute.
256
+
257
+ #### Defined in
258
+
259
+ [HotTesterMocha.ts:25](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTesterMocha.ts#L25)
260
+
261
+ ___
262
+
263
+ ### testMaps
264
+
265
+ • **testMaps**: `Object`
266
+
267
+ The test maps to test.
268
+
269
+ #### Index signature
270
+
271
+ ▪ [name: `string`]: [`HotTestMap`](HotTestMap.md)
272
+
273
+ #### Inherited from
274
+
275
+ [HotTester](HotTester.md).[testMaps](HotTester.md#testmaps)
276
+
277
+ #### Defined in
278
+
279
+ [HotTester.ts:82](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L82)
280
+
281
+ ___
282
+
283
+ ### timeout
284
+
285
+ • **timeout**: `number`
286
+
287
+ The timeout for each test.
288
+
289
+ #### Defined in
290
+
291
+ [HotTesterMocha.ts:21](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTesterMocha.ts#L21)
292
+
293
+ ## Methods
294
+
295
+ ### destroy
296
+
297
+ ▸ **destroy**(): `Promise`<`void`\>
298
+
299
+ Executed when destroying up the tester.
300
+
301
+ #### Returns
302
+
303
+ `Promise`<`void`\>
304
+
305
+ #### Overrides
306
+
307
+ [HotTester](HotTester.md).[destroy](HotTester.md#destroy)
308
+
309
+ #### Defined in
310
+
311
+ [HotTesterMocha.ts:58](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTesterMocha.ts#L58)
312
+
313
+ ___
314
+
315
+ ### execute
316
+
317
+ ▸ **execute**(`mapName`): `Promise`<`void`\>
318
+
319
+ Execute the tests.
320
+
321
+ #### Parameters
322
+
323
+ | Name | Type |
324
+ | :------ | :------ |
325
+ | `mapName` | `string` |
326
+
327
+ #### Returns
328
+
329
+ `Promise`<`void`\>
330
+
331
+ #### Inherited from
332
+
333
+ [HotTester](HotTester.md).[execute](HotTester.md#execute)
334
+
335
+ #### Defined in
336
+
337
+ [HotTester.ts:562](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L562)
338
+
339
+ ___
340
+
341
+ ### executeCommand
342
+
343
+ ▸ **executeCommand**(`destination`, `page`, `stop`, `cmd`): `Promise`<`void`\>
344
+
345
+ Execute a command.
346
+
347
+ #### Parameters
348
+
349
+ | Name | Type |
350
+ | :------ | :------ |
351
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
352
+ | `page` | [`HotTestPage`](../interfaces/HotTestPage.md) |
353
+ | `stop` | [`HotTestStop`](../interfaces/HotTestStop.md) |
354
+ | `cmd` | `string` |
355
+
356
+ #### Returns
357
+
358
+ `Promise`<`void`\>
359
+
360
+ #### Inherited from
361
+
362
+ [HotTester](HotTester.md).[executeCommand](HotTester.md#executecommand)
363
+
364
+ #### Defined in
365
+
366
+ [HotTester.ts:381](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L381)
367
+
368
+ ___
369
+
370
+ ### executeTestAPIPath
371
+
372
+ ▸ **executeTestAPIPath**(`destination`, `method`, `testName`, `skipEventCalls?`, `continueWhenTestIsComplete?`): `Promise`<`any`\>
373
+
374
+ Execute an API's test path.
375
+
376
+ #### Parameters
377
+
378
+ | Name | Type | Default value |
379
+ | :------ | :------ | :------ |
380
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) | `undefined` |
381
+ | `method` | [`HotRouteMethod`](HotRouteMethod.md) | `undefined` |
382
+ | `testName` | `string` | `undefined` |
383
+ | `skipEventCalls` | `boolean` | `false` |
384
+ | `continueWhenTestIsComplete` | `boolean` | `false` |
385
+
386
+ #### Returns
387
+
388
+ `Promise`<`any`\>
389
+
390
+ #### Inherited from
391
+
392
+ [HotTester](HotTester.md).[executeTestAPIPath](HotTester.md#executetestapipath)
393
+
394
+ #### Defined in
395
+
396
+ [HotTester.ts:256](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L256)
397
+
398
+ ___
399
+
400
+ ### executeTestAPIPaths
401
+
402
+ ▸ **executeTestAPIPaths**(`destination`): `Promise`<`any`[]\>
403
+
404
+ Execute all test paths in an API route.
405
+
406
+ **`fixme`** This needs a better implementation...
407
+
408
+ #### Parameters
409
+
410
+ | Name | Type |
411
+ | :------ | :------ |
412
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
413
+
414
+ #### Returns
415
+
416
+ `Promise`<`any`[]\>
417
+
418
+ #### Inherited from
419
+
420
+ [HotTester](HotTester.md).[executeTestAPIPaths](HotTester.md#executetestapipaths)
421
+
422
+ #### Defined in
423
+
424
+ [HotTester.ts:294](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L294)
425
+
426
+ ___
427
+
428
+ ### executeTestPagePath
429
+
430
+ ▸ **executeTestPagePath**(`destination`, `stop`, `skipEventCalls?`, `continueWhenTestIsComplete?`): `Promise`<`any`\>
431
+
432
+ Execute a test page path.
433
+
434
+ #### Parameters
435
+
436
+ | Name | Type | Default value |
437
+ | :------ | :------ | :------ |
438
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) | `undefined` |
439
+ | `stop` | [`HotTestStop`](../interfaces/HotTestStop.md) | `undefined` |
440
+ | `skipEventCalls` | `boolean` | `false` |
441
+ | `continueWhenTestIsComplete` | `boolean` | `false` |
442
+
443
+ #### Returns
444
+
445
+ `Promise`<`any`\>
446
+
447
+ #### Inherited from
448
+
449
+ [HotTester](HotTester.md).[executeTestPagePath](HotTester.md#executetestpagepath)
450
+
451
+ #### Defined in
452
+
453
+ [HotTester.ts:329](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L329)
454
+
455
+ ___
456
+
457
+ ### executeTestPagePaths
458
+
459
+ ▸ **executeTestPagePaths**(`destination`, `continueWhenTestIsComplete?`): `Promise`<`any`[]\>
460
+
461
+ Execute all test paths in a page.
462
+
463
+ #### Parameters
464
+
465
+ | Name | Type | Default value |
466
+ | :------ | :------ | :------ |
467
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) | `undefined` |
468
+ | `continueWhenTestIsComplete` | `boolean` | `false` |
469
+
470
+ #### Returns
471
+
472
+ `Promise`<`any`[]\>
473
+
474
+ #### Inherited from
475
+
476
+ [HotTester](HotTester.md).[executeTestPagePaths](HotTester.md#executetestpagepaths)
477
+
478
+ #### Defined in
479
+
480
+ [HotTester.ts:516](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L516)
481
+
482
+ ___
483
+
484
+ ### getTestPage
485
+
486
+ ▸ **getTestPage**(`destination`): [`HotTestPage`](../interfaces/HotTestPage.md)
487
+
488
+ Get a test page.
489
+
490
+ #### Parameters
491
+
492
+ | Name | Type |
493
+ | :------ | :------ |
494
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
495
+
496
+ #### Returns
497
+
498
+ [`HotTestPage`](../interfaces/HotTestPage.md)
499
+
500
+ #### Inherited from
501
+
502
+ [HotTester](HotTester.md).[getTestPage](HotTester.md#gettestpage)
503
+
504
+ #### Defined in
505
+
506
+ [HotTester.ts:181](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L181)
507
+
508
+ ___
509
+
510
+ ### getTestPath
511
+
512
+ ▸ **getTestPath**(`destination`, `pathName`): [`HotTestPath`](../modules.md#hottestpath)
513
+
514
+ Get a test path.
515
+
516
+ #### Parameters
517
+
518
+ | Name | Type |
519
+ | :------ | :------ |
520
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
521
+ | `pathName` | `string` |
522
+
523
+ #### Returns
524
+
525
+ [`HotTestPath`](../modules.md#hottestpath)
526
+
527
+ #### Inherited from
528
+
529
+ [HotTester](HotTester.md).[getTestPath](HotTester.md#gettestpath)
530
+
531
+ #### Defined in
532
+
533
+ [HotTester.ts:191](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L191)
534
+
535
+ ___
536
+
537
+ ### onCommand
538
+
539
+ ▸ **onCommand**(`destination`, `page`, `stop`, `cmd`, `args`, `cmdFunc`): `Promise`<`void`\>
540
+
541
+ Executed when a command is executed.
542
+
543
+ #### Parameters
544
+
545
+ | Name | Type |
546
+ | :------ | :------ |
547
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
548
+ | `page` | [`HotTestPage`](../interfaces/HotTestPage.md) |
549
+ | `stop` | [`HotTestStop`](../interfaces/HotTestStop.md) |
550
+ | `cmd` | `string` |
551
+ | `args` | `string`[] |
552
+ | `cmdFunc` | (`cmdArgs`: `string`[]) => `Promise`<`void`\> |
553
+
554
+ #### Returns
555
+
556
+ `Promise`<`void`\>
557
+
558
+ #### Overrides
559
+
560
+ [HotTester](HotTester.md).[onCommand](HotTester.md#oncommand)
561
+
562
+ #### Defined in
563
+
564
+ [HotTesterMocha.ts:111](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTesterMocha.ts#L111)
565
+
566
+ ___
567
+
568
+ ### onExecute
569
+
570
+ ▸ `Optional` **onExecute**(): `Promise`<`void`\>
571
+
572
+ Executed when this tester has been executed from the API.
573
+
574
+ #### Returns
575
+
576
+ `Promise`<`void`\>
577
+
578
+ #### Inherited from
579
+
580
+ [HotTester](HotTester.md).[onExecute](HotTester.md#onexecute)
581
+
582
+ #### Defined in
583
+
584
+ [HotTester.ts:163](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L163)
585
+
586
+ ___
587
+
588
+ ### onFinishedLoading
589
+
590
+ ▸ `Optional` **onFinishedLoading**(): `Promise`<`void`\>
591
+
592
+ Executed when this tester has finished loading all data from the API.
593
+
594
+ #### Returns
595
+
596
+ `Promise`<`void`\>
597
+
598
+ #### Inherited from
599
+
600
+ [HotTester](HotTester.md).[onFinishedLoading](HotTester.md#onfinishedloading)
601
+
602
+ #### Defined in
603
+
604
+ [HotTester.ts:167](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L167)
605
+
606
+ ___
607
+
608
+ ### onTestAPIPathEnd
609
+
610
+ ▸ `Optional` **onTestAPIPathEnd**(`destination`, `method`, `testName`, `result`, `continueWhenTestIsComplete?`): `Promise`<`void`\>
611
+
612
+ Executed when an API test path has ended.
613
+
614
+ #### Parameters
615
+
616
+ | Name | Type |
617
+ | :------ | :------ |
618
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
619
+ | `method` | [`HotRouteMethod`](HotRouteMethod.md) |
620
+ | `testName` | `string` |
621
+ | `result` | `any` |
622
+ | `continueWhenTestIsComplete?` | `boolean` |
623
+
624
+ #### Returns
625
+
626
+ `Promise`<`void`\>
627
+
628
+ #### Inherited from
629
+
630
+ [HotTester](HotTester.md).[onTestAPIPathEnd](HotTester.md#ontestapipathend)
631
+
632
+ #### Defined in
633
+
634
+ [HotTester.ts:137](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L137)
635
+
636
+ ___
637
+
638
+ ### onTestAPIPathStart
639
+
640
+ ▸ `Optional` **onTestAPIPathStart**(`destination`, `method`, `testName`, `continueWhenTestIsComplete?`): `Promise`<`boolean`\>
641
+
642
+ Executed when an API test path has started. If this returns false,
643
+ the testPath will not be immediately executed afterwards.
644
+
645
+ #### Parameters
646
+
647
+ | Name | Type |
648
+ | :------ | :------ |
649
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
650
+ | `method` | [`HotRouteMethod`](HotRouteMethod.md) |
651
+ | `testName` | `string` |
652
+ | `continueWhenTestIsComplete?` | `boolean` |
653
+
654
+ #### Returns
655
+
656
+ `Promise`<`boolean`\>
657
+
658
+ #### Inherited from
659
+
660
+ [HotTester](HotTester.md).[onTestAPIPathStart](HotTester.md#ontestapipathstart)
661
+
662
+ #### Defined in
663
+
664
+ [HotTester.ts:132](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L132)
665
+
666
+ ___
667
+
668
+ ### onTestEnd
669
+
670
+ ▸ **onTestEnd**(`destination`): `Promise`<`void`\>
671
+
672
+ Executed when tests are finished.
673
+
674
+ #### Parameters
675
+
676
+ | Name | Type |
677
+ | :------ | :------ |
678
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
679
+
680
+ #### Returns
681
+
682
+ `Promise`<`void`\>
683
+
684
+ #### Overrides
685
+
686
+ [HotTester](HotTester.md).[onTestEnd](HotTester.md#ontestend)
687
+
688
+ #### Defined in
689
+
690
+ [HotTesterMocha.ts:120](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTesterMocha.ts#L120)
691
+
692
+ ___
693
+
694
+ ### onTestPagePathEnd
695
+
696
+ ▸ `Optional` **onTestPagePathEnd**(`destination`, `testPath`, `result`, `continueWhenTestIsComplete?`): `Promise`<`void`\>
697
+
698
+ Executed when a page test has ended.
699
+
700
+ #### Parameters
701
+
702
+ | Name | Type |
703
+ | :------ | :------ |
704
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
705
+ | `testPath` | [`HotTestPath`](../modules.md#hottestpath) |
706
+ | `result` | `any` |
707
+ | `continueWhenTestIsComplete?` | `boolean` |
708
+
709
+ #### Returns
710
+
711
+ `Promise`<`void`\>
712
+
713
+ #### Inherited from
714
+
715
+ [HotTester](HotTester.md).[onTestPagePathEnd](HotTester.md#ontestpagepathend)
716
+
717
+ #### Defined in
718
+
719
+ [HotTester.ts:148](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L148)
720
+
721
+ ___
722
+
723
+ ### onTestPagePathStart
724
+
725
+ ▸ **onTestPagePathStart**(`destination`, `page`, `stop`, `continueWhenTestIsComplete?`): `Promise`<`boolean`\>
726
+
727
+ Executed when page tests are started. If this returns false, the testPath will not be
728
+ immediately executed afterwards.
729
+
730
+ #### Parameters
731
+
732
+ | Name | Type | Default value |
733
+ | :------ | :------ | :------ |
734
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) | `undefined` |
735
+ | `page` | [`HotTestPage`](../interfaces/HotTestPage.md) | `undefined` |
736
+ | `stop` | [`HotTestStop`](../interfaces/HotTestStop.md) | `undefined` |
737
+ | `continueWhenTestIsComplete` | `boolean` | `false` |
738
+
739
+ #### Returns
740
+
741
+ `Promise`<`boolean`\>
742
+
743
+ #### Overrides
744
+
745
+ [HotTester](HotTester.md).[onTestPagePathStart](HotTester.md#ontestpagepathstart)
746
+
747
+ #### Defined in
748
+
749
+ [HotTesterMocha.ts:82](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTesterMocha.ts#L82)
750
+
751
+ ___
752
+
753
+ ### onTestStart
754
+
755
+ ▸ **onTestStart**(`destination`, `destinationKey?`): `Promise`<`boolean`\>
756
+
757
+ Executed when tests are started.
758
+
759
+ #### Parameters
760
+
761
+ | Name | Type | Default value |
762
+ | :------ | :------ | :------ |
763
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) | `undefined` |
764
+ | `destinationKey` | `string` | `""` |
765
+
766
+ #### Returns
767
+
768
+ `Promise`<`boolean`\>
769
+
770
+ #### Overrides
771
+
772
+ [HotTester](HotTester.md).[onTestStart](HotTester.md#onteststart)
773
+
774
+ #### Defined in
775
+
776
+ [HotTesterMocha.ts:65](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTesterMocha.ts#L65)
777
+
778
+ ___
779
+
780
+ ### setup
781
+
782
+ ▸ **setup**(): `Promise`<`void`\>
783
+
784
+ Executed when setting up the tester.
785
+
786
+ #### Returns
787
+
788
+ `Promise`<`void`\>
789
+
790
+ #### Overrides
791
+
792
+ [HotTester](HotTester.md).[setup](HotTester.md#setup)
793
+
794
+ #### Defined in
795
+
796
+ [HotTesterMocha.ts:51](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTesterMocha.ts#L51)
797
+
798
+ ___
799
+
800
+ ### waitForData
801
+
802
+ ▸ **waitForData**(): `Promise`<`void`\>
803
+
804
+ Waits for the API to finish loading all data.
805
+
806
+ #### Returns
807
+
808
+ `Promise`<`void`\>
809
+
810
+ #### Inherited from
811
+
812
+ [HotTester](HotTester.md).[waitForData](HotTester.md#waitfordata)
813
+
814
+ #### Defined in
815
+
816
+ [HotTester.ts:172](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L172)
817
+
818
+ ___
819
+
820
+ ### interpretDestination
821
+
822
+ ▸ `Static` **interpretDestination**(`mapName`, `testDest`): [`HotDestination`](../interfaces/HotDestination.md)
823
+
824
+ Get a destination JSON object to use.
825
+
826
+ #### Parameters
827
+
828
+ | Name | Type |
829
+ | :------ | :------ |
830
+ | `mapName` | `string` |
831
+ | `testDest` | [`HotTestDestination`](HotTestDestination.md) |
832
+
833
+ #### Returns
834
+
835
+ [`HotDestination`](../interfaces/HotDestination.md)
836
+
837
+ #### Inherited from
838
+
839
+ [HotTester](HotTester.md).[interpretDestination](HotTester.md#interpretdestination)
840
+
841
+ #### Defined in
842
+
843
+ [HotTester.ts:201](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L201)