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,653 @@
1
+ [hotstaq](../README.md) / [Modules](../modules.md) / HotTester
2
+
3
+ # Class: HotTester
4
+
5
+ Executes tests.
6
+
7
+ ## Hierarchy
8
+
9
+ - **`HotTester`**
10
+
11
+ ↳ [`HotTesterMocha`](HotTesterMocha.md)
12
+
13
+ ↳ [`HotTesterMochaSelenium`](HotTesterMochaSelenium.md)
14
+
15
+ ## Table of contents
16
+
17
+ ### Constructors
18
+
19
+ - [constructor](HotTester.md#constructor)
20
+
21
+ ### Properties
22
+
23
+ - [baseUrl](HotTester.md#baseurl)
24
+ - [driver](HotTester.md#driver)
25
+ - [finishedLoading](HotTester.md#finishedloading)
26
+ - [hasBeenDestroyed](HotTester.md#hasbeendestroyed)
27
+ - [hasBeenSetup](HotTester.md#hasbeensetup)
28
+ - [name](HotTester.md#name)
29
+ - [processor](HotTester.md#processor)
30
+ - [testMaps](HotTester.md#testmaps)
31
+
32
+ ### Methods
33
+
34
+ - [destroy](HotTester.md#destroy)
35
+ - [execute](HotTester.md#execute)
36
+ - [executeCommand](HotTester.md#executecommand)
37
+ - [executeTestAPIPath](HotTester.md#executetestapipath)
38
+ - [executeTestAPIPaths](HotTester.md#executetestapipaths)
39
+ - [executeTestPagePath](HotTester.md#executetestpagepath)
40
+ - [executeTestPagePaths](HotTester.md#executetestpagepaths)
41
+ - [getTestPage](HotTester.md#gettestpage)
42
+ - [getTestPath](HotTester.md#gettestpath)
43
+ - [onCommand](HotTester.md#oncommand)
44
+ - [onExecute](HotTester.md#onexecute)
45
+ - [onFinishedLoading](HotTester.md#onfinishedloading)
46
+ - [onTestAPIPathEnd](HotTester.md#ontestapipathend)
47
+ - [onTestAPIPathStart](HotTester.md#ontestapipathstart)
48
+ - [onTestEnd](HotTester.md#ontestend)
49
+ - [onTestPagePathEnd](HotTester.md#ontestpagepathend)
50
+ - [onTestPagePathStart](HotTester.md#ontestpagepathstart)
51
+ - [onTestStart](HotTester.md#onteststart)
52
+ - [setup](HotTester.md#setup)
53
+ - [waitForData](HotTester.md#waitfordata)
54
+ - [interpretDestination](HotTester.md#interpretdestination)
55
+
56
+ ## Constructors
57
+
58
+ ### constructor
59
+
60
+ • **new HotTester**(`processor`, `name`, `baseUrl`, `driver`, `testMaps?`)
61
+
62
+ #### Parameters
63
+
64
+ | Name | Type |
65
+ | :------ | :------ |
66
+ | `processor` | [`HotStaq`](HotStaq.md) |
67
+ | `name` | `string` |
68
+ | `baseUrl` | `string` |
69
+ | `driver` | [`HotTestDriver`](HotTestDriver.md) |
70
+ | `testMaps` | `Object` |
71
+
72
+ #### Defined in
73
+
74
+ [HotTester.ts:100](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L100)
75
+
76
+ ## Properties
77
+
78
+ ### baseUrl
79
+
80
+ • **baseUrl**: `string`
81
+
82
+ The base url that will construct future urls.
83
+
84
+ #### Defined in
85
+
86
+ [HotTester.ts:74](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L74)
87
+
88
+ ___
89
+
90
+ ### driver
91
+
92
+ • **driver**: [`HotTestDriver`](HotTestDriver.md)
93
+
94
+ The driver to use when running tests.
95
+
96
+ #### Defined in
97
+
98
+ [HotTester.ts:86](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L86)
99
+
100
+ ___
101
+
102
+ ### finishedLoading
103
+
104
+ • **finishedLoading**: `boolean`
105
+
106
+ Has this tester finished loading?
107
+
108
+ #### Defined in
109
+
110
+ [HotTester.ts:90](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L90)
111
+
112
+ ___
113
+
114
+ ### hasBeenDestroyed
115
+
116
+ • **hasBeenDestroyed**: `boolean`
117
+
118
+ Has this tester finished setting up?
119
+
120
+ #### Defined in
121
+
122
+ [HotTester.ts:98](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L98)
123
+
124
+ ___
125
+
126
+ ### hasBeenSetup
127
+
128
+ • **hasBeenSetup**: `boolean`
129
+
130
+ Has this tester finished setting up?
131
+
132
+ #### Defined in
133
+
134
+ [HotTester.ts:94](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L94)
135
+
136
+ ___
137
+
138
+ ### name
139
+
140
+ • **name**: `string`
141
+
142
+ The tester name.
143
+
144
+ #### Defined in
145
+
146
+ [HotTester.ts:70](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L70)
147
+
148
+ ___
149
+
150
+ ### processor
151
+
152
+ • **processor**: [`HotStaq`](HotStaq.md)
153
+
154
+ The associated processor.
155
+
156
+ #### Defined in
157
+
158
+ [HotTester.ts:78](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L78)
159
+
160
+ ___
161
+
162
+ ### testMaps
163
+
164
+ • **testMaps**: `Object`
165
+
166
+ The test maps to test.
167
+
168
+ #### Index signature
169
+
170
+ ▪ [name: `string`]: [`HotTestMap`](HotTestMap.md)
171
+
172
+ #### Defined in
173
+
174
+ [HotTester.ts:82](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L82)
175
+
176
+ ## Methods
177
+
178
+ ### destroy
179
+
180
+ ▸ `Abstract` **destroy**(): `Promise`<`void`\>
181
+
182
+ Executed when destroying up the tester.
183
+
184
+ #### Returns
185
+
186
+ `Promise`<`void`\>
187
+
188
+ #### Defined in
189
+
190
+ [HotTester.ts:120](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L120)
191
+
192
+ ___
193
+
194
+ ### execute
195
+
196
+ ▸ **execute**(`mapName`): `Promise`<`void`\>
197
+
198
+ Execute the tests.
199
+
200
+ #### Parameters
201
+
202
+ | Name | Type |
203
+ | :------ | :------ |
204
+ | `mapName` | `string` |
205
+
206
+ #### Returns
207
+
208
+ `Promise`<`void`\>
209
+
210
+ #### Defined in
211
+
212
+ [HotTester.ts:562](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L562)
213
+
214
+ ___
215
+
216
+ ### executeCommand
217
+
218
+ ▸ **executeCommand**(`destination`, `page`, `stop`, `cmd`): `Promise`<`void`\>
219
+
220
+ Execute a command.
221
+
222
+ #### Parameters
223
+
224
+ | Name | Type |
225
+ | :------ | :------ |
226
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
227
+ | `page` | [`HotTestPage`](../interfaces/HotTestPage.md) |
228
+ | `stop` | [`HotTestStop`](../interfaces/HotTestStop.md) |
229
+ | `cmd` | `string` |
230
+
231
+ #### Returns
232
+
233
+ `Promise`<`void`\>
234
+
235
+ #### Defined in
236
+
237
+ [HotTester.ts:381](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L381)
238
+
239
+ ___
240
+
241
+ ### executeTestAPIPath
242
+
243
+ ▸ **executeTestAPIPath**(`destination`, `method`, `testName`, `skipEventCalls?`, `continueWhenTestIsComplete?`): `Promise`<`any`\>
244
+
245
+ Execute an API's test path.
246
+
247
+ #### Parameters
248
+
249
+ | Name | Type | Default value |
250
+ | :------ | :------ | :------ |
251
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) | `undefined` |
252
+ | `method` | [`HotRouteMethod`](HotRouteMethod.md) | `undefined` |
253
+ | `testName` | `string` | `undefined` |
254
+ | `skipEventCalls` | `boolean` | `false` |
255
+ | `continueWhenTestIsComplete` | `boolean` | `false` |
256
+
257
+ #### Returns
258
+
259
+ `Promise`<`any`\>
260
+
261
+ #### Defined in
262
+
263
+ [HotTester.ts:256](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L256)
264
+
265
+ ___
266
+
267
+ ### executeTestAPIPaths
268
+
269
+ ▸ **executeTestAPIPaths**(`destination`): `Promise`<`any`[]\>
270
+
271
+ Execute all test paths in an API route.
272
+
273
+ **`fixme`** This needs a better implementation...
274
+
275
+ #### Parameters
276
+
277
+ | Name | Type |
278
+ | :------ | :------ |
279
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
280
+
281
+ #### Returns
282
+
283
+ `Promise`<`any`[]\>
284
+
285
+ #### Defined in
286
+
287
+ [HotTester.ts:294](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L294)
288
+
289
+ ___
290
+
291
+ ### executeTestPagePath
292
+
293
+ ▸ **executeTestPagePath**(`destination`, `stop`, `skipEventCalls?`, `continueWhenTestIsComplete?`): `Promise`<`any`\>
294
+
295
+ Execute a test page path.
296
+
297
+ #### Parameters
298
+
299
+ | Name | Type | Default value |
300
+ | :------ | :------ | :------ |
301
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) | `undefined` |
302
+ | `stop` | [`HotTestStop`](../interfaces/HotTestStop.md) | `undefined` |
303
+ | `skipEventCalls` | `boolean` | `false` |
304
+ | `continueWhenTestIsComplete` | `boolean` | `false` |
305
+
306
+ #### Returns
307
+
308
+ `Promise`<`any`\>
309
+
310
+ #### Defined in
311
+
312
+ [HotTester.ts:329](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L329)
313
+
314
+ ___
315
+
316
+ ### executeTestPagePaths
317
+
318
+ ▸ **executeTestPagePaths**(`destination`, `continueWhenTestIsComplete?`): `Promise`<`any`[]\>
319
+
320
+ Execute all test paths in a page.
321
+
322
+ #### Parameters
323
+
324
+ | Name | Type | Default value |
325
+ | :------ | :------ | :------ |
326
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) | `undefined` |
327
+ | `continueWhenTestIsComplete` | `boolean` | `false` |
328
+
329
+ #### Returns
330
+
331
+ `Promise`<`any`[]\>
332
+
333
+ #### Defined in
334
+
335
+ [HotTester.ts:516](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L516)
336
+
337
+ ___
338
+
339
+ ### getTestPage
340
+
341
+ ▸ **getTestPage**(`destination`): [`HotTestPage`](../interfaces/HotTestPage.md)
342
+
343
+ Get a test page.
344
+
345
+ #### Parameters
346
+
347
+ | Name | Type |
348
+ | :------ | :------ |
349
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
350
+
351
+ #### Returns
352
+
353
+ [`HotTestPage`](../interfaces/HotTestPage.md)
354
+
355
+ #### Defined in
356
+
357
+ [HotTester.ts:181](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L181)
358
+
359
+ ___
360
+
361
+ ### getTestPath
362
+
363
+ ▸ **getTestPath**(`destination`, `pathName`): [`HotTestPath`](../modules.md#hottestpath)
364
+
365
+ Get a test path.
366
+
367
+ #### Parameters
368
+
369
+ | Name | Type |
370
+ | :------ | :------ |
371
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
372
+ | `pathName` | `string` |
373
+
374
+ #### Returns
375
+
376
+ [`HotTestPath`](../modules.md#hottestpath)
377
+
378
+ #### Defined in
379
+
380
+ [HotTester.ts:191](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L191)
381
+
382
+ ___
383
+
384
+ ### onCommand
385
+
386
+ ▸ `Optional` **onCommand**(`destination`, `page`, `stop`, `cmd`, `args`, `cmdFunc`): `Promise`<`void`\>
387
+
388
+ Executed when a command is executed.
389
+
390
+ #### Parameters
391
+
392
+ | Name | Type |
393
+ | :------ | :------ |
394
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
395
+ | `page` | [`HotTestPage`](../interfaces/HotTestPage.md) |
396
+ | `stop` | [`HotTestStop`](../interfaces/HotTestStop.md) |
397
+ | `cmd` | `string` |
398
+ | `args` | `string`[] |
399
+ | `cmdFunc` | (`cmdArgs`: `string`[]) => `Promise`<`void`\> |
400
+
401
+ #### Returns
402
+
403
+ `Promise`<`void`\>
404
+
405
+ #### Defined in
406
+
407
+ [HotTester.ts:153](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L153)
408
+
409
+ ___
410
+
411
+ ### onExecute
412
+
413
+ ▸ `Optional` **onExecute**(): `Promise`<`void`\>
414
+
415
+ Executed when this tester has been executed from the API.
416
+
417
+ #### Returns
418
+
419
+ `Promise`<`void`\>
420
+
421
+ #### Defined in
422
+
423
+ [HotTester.ts:163](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L163)
424
+
425
+ ___
426
+
427
+ ### onFinishedLoading
428
+
429
+ ▸ `Optional` **onFinishedLoading**(): `Promise`<`void`\>
430
+
431
+ Executed when this tester has finished loading all data from the API.
432
+
433
+ #### Returns
434
+
435
+ `Promise`<`void`\>
436
+
437
+ #### Defined in
438
+
439
+ [HotTester.ts:167](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L167)
440
+
441
+ ___
442
+
443
+ ### onTestAPIPathEnd
444
+
445
+ ▸ `Optional` **onTestAPIPathEnd**(`destination`, `method`, `testName`, `result`, `continueWhenTestIsComplete?`): `Promise`<`void`\>
446
+
447
+ Executed when an API test path has ended.
448
+
449
+ #### Parameters
450
+
451
+ | Name | Type |
452
+ | :------ | :------ |
453
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
454
+ | `method` | [`HotRouteMethod`](HotRouteMethod.md) |
455
+ | `testName` | `string` |
456
+ | `result` | `any` |
457
+ | `continueWhenTestIsComplete?` | `boolean` |
458
+
459
+ #### Returns
460
+
461
+ `Promise`<`void`\>
462
+
463
+ #### Defined in
464
+
465
+ [HotTester.ts:137](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L137)
466
+
467
+ ___
468
+
469
+ ### onTestAPIPathStart
470
+
471
+ ▸ `Optional` **onTestAPIPathStart**(`destination`, `method`, `testName`, `continueWhenTestIsComplete?`): `Promise`<`boolean`\>
472
+
473
+ Executed when an API test path has started. If this returns false,
474
+ the testPath will not be immediately executed afterwards.
475
+
476
+ #### Parameters
477
+
478
+ | Name | Type |
479
+ | :------ | :------ |
480
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
481
+ | `method` | [`HotRouteMethod`](HotRouteMethod.md) |
482
+ | `testName` | `string` |
483
+ | `continueWhenTestIsComplete?` | `boolean` |
484
+
485
+ #### Returns
486
+
487
+ `Promise`<`boolean`\>
488
+
489
+ #### Defined in
490
+
491
+ [HotTester.ts:132](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L132)
492
+
493
+ ___
494
+
495
+ ### onTestEnd
496
+
497
+ ▸ `Optional` **onTestEnd**(`destination`): `Promise`<`void`\>
498
+
499
+ Executed when tests are finished.
500
+
501
+ #### Parameters
502
+
503
+ | Name | Type |
504
+ | :------ | :------ |
505
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
506
+
507
+ #### Returns
508
+
509
+ `Promise`<`void`\>
510
+
511
+ #### Defined in
512
+
513
+ [HotTester.ts:158](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L158)
514
+
515
+ ___
516
+
517
+ ### onTestPagePathEnd
518
+
519
+ ▸ `Optional` **onTestPagePathEnd**(`destination`, `testPath`, `result`, `continueWhenTestIsComplete?`): `Promise`<`void`\>
520
+
521
+ Executed when a page test has ended.
522
+
523
+ #### Parameters
524
+
525
+ | Name | Type |
526
+ | :------ | :------ |
527
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
528
+ | `testPath` | [`HotTestPath`](../modules.md#hottestpath) |
529
+ | `result` | `any` |
530
+ | `continueWhenTestIsComplete?` | `boolean` |
531
+
532
+ #### Returns
533
+
534
+ `Promise`<`void`\>
535
+
536
+ #### Defined in
537
+
538
+ [HotTester.ts:148](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L148)
539
+
540
+ ___
541
+
542
+ ### onTestPagePathStart
543
+
544
+ ▸ `Optional` **onTestPagePathStart**(`destination`, `page`, `stop`, `continueWhenTestIsComplete?`): `Promise`<`boolean`\>
545
+
546
+ Executed when page tests are started. If this returns false, the testPath will not be
547
+ immediately executed afterwards.
548
+
549
+ #### Parameters
550
+
551
+ | Name | Type |
552
+ | :------ | :------ |
553
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
554
+ | `page` | [`HotTestPage`](../interfaces/HotTestPage.md) |
555
+ | `stop` | [`HotTestStop`](../interfaces/HotTestStop.md) |
556
+ | `continueWhenTestIsComplete?` | `boolean` |
557
+
558
+ #### Returns
559
+
560
+ `Promise`<`boolean`\>
561
+
562
+ #### Defined in
563
+
564
+ [HotTester.ts:143](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L143)
565
+
566
+ ___
567
+
568
+ ### onTestStart
569
+
570
+ ▸ `Optional` **onTestStart**(`destination`, `url`, `destinationKey?`): `Promise`<`boolean`\>
571
+
572
+ Executed when tests are started. If this returns true, it will
573
+ continue and execute all test paths. If this returns it will
574
+ skip all test paths and execute onTestEnd instead.
575
+
576
+ #### Parameters
577
+
578
+ | Name | Type |
579
+ | :------ | :------ |
580
+ | `destination` | [`HotDestination`](../interfaces/HotDestination.md) |
581
+ | `url` | `string` |
582
+ | `destinationKey?` | `string` |
583
+
584
+ #### Returns
585
+
586
+ `Promise`<`boolean`\>
587
+
588
+ #### Defined in
589
+
590
+ [HotTester.ts:127](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L127)
591
+
592
+ ___
593
+
594
+ ### setup
595
+
596
+ ▸ `Abstract` **setup**(`isWebRoute`, `url`, `destinationKey?`): `Promise`<`void`\>
597
+
598
+ Executed when setting up the tester.
599
+
600
+ #### Parameters
601
+
602
+ | Name | Type |
603
+ | :------ | :------ |
604
+ | `isWebRoute` | `boolean` |
605
+ | `url` | `string` |
606
+ | `destinationKey?` | `string` |
607
+
608
+ #### Returns
609
+
610
+ `Promise`<`void`\>
611
+
612
+ #### Defined in
613
+
614
+ [HotTester.ts:116](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L116)
615
+
616
+ ___
617
+
618
+ ### waitForData
619
+
620
+ ▸ **waitForData**(): `Promise`<`void`\>
621
+
622
+ Waits for the API to finish loading all data.
623
+
624
+ #### Returns
625
+
626
+ `Promise`<`void`\>
627
+
628
+ #### Defined in
629
+
630
+ [HotTester.ts:172](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L172)
631
+
632
+ ___
633
+
634
+ ### interpretDestination
635
+
636
+ ▸ `Static` **interpretDestination**(`mapName`, `testDest`): [`HotDestination`](../interfaces/HotDestination.md)
637
+
638
+ Get a destination JSON object to use.
639
+
640
+ #### Parameters
641
+
642
+ | Name | Type |
643
+ | :------ | :------ |
644
+ | `mapName` | `string` |
645
+ | `testDest` | [`HotTestDestination`](HotTestDestination.md) |
646
+
647
+ #### Returns
648
+
649
+ [`HotDestination`](../interfaces/HotDestination.md)
650
+
651
+ #### Defined in
652
+
653
+ [HotTester.ts:201](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotTester.ts#L201)