testeranto 0.146.0 → 0.146.1
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.
- package/README.md +9 -9
- package/package.json +1 -1
- package/testeranto/bundles/pure/allTests/metafile.json +8 -8
- package/testeranto/index.html +1 -1
- package/testeranto/reports/allTests/index.html +1 -1
- package/testeranto/reports/allTests/src/Pure.test/pure/index.html +1 -1
- package/testeranto/reports/allTests/src/Pure.test/pure/logs.txt +2 -2
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/index.html +1 -1
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/index.html +1 -1
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/logs.txt +2 -2
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/index.html +1 -1
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/index.html +1 -1
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/index.html +1 -1
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/index.html +1 -1
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/index.html +1 -1
- package/testeranto/reports/allTests/src/lib/core.test/core.test/node/index.html +1 -1
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/index.html +1 -1
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/logs.txt +3 -3
- package/testeranto.config.ts +1 -1
package/README.md
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## The AI-powered BDD test framework for TypeScript projects
|
|
4
4
|
|
|
5
|
-
#### 🚧 WARNING: Testeranto is still under development
|
|
5
|
+
#### 🚧 WARNING: Testeranto is still under development but is not ready for production yet. I am rapidly working to release a beta ASAP. If you are interested in joining this beta program, please context me. 🚧
|
|
6
6
|
|
|
7
|
-
- README: [
|
|
7
|
+
- README: [adamwong246.github.io/testeranto/testeranto](https://adamwong246.github.io/testeranto/testeranto)
|
|
8
8
|
- demo: [youtube](https://www.youtube.com/embed/WvU5xMqGi6Q)
|
|
9
9
|
- source: [github.com/adamwong246/testeranto](https://github.com/adamwong246/testeranto)
|
|
10
10
|
- npm: [npmjs.com/package/testeranto](https://www.npmjs.com/package/testeranto)
|
|
11
|
-
- dev: [github.dev/adamwong246/testeranto](https://github.dev/adamwong246/testeranto)
|
|
12
11
|
- example repo: [testeranto-starter](https://github.com/adamwong246/testeranto-starter)
|
|
12
|
+
- tests report: [adamwong246.github.io/testeranto/testeranto](https://adamwong246.github.io/testeranto/testeranto/index.html)
|
|
13
13
|
|
|
14
14
|
## What is testeranto?
|
|
15
15
|
|
|
@@ -160,21 +160,21 @@ test0: Given.Default(
|
|
|
160
160
|
|
|
161
161
|
```
|
|
162
162
|
|
|
163
|
-
## Sidecars (COMING SOON)
|
|
164
|
-
|
|
165
|
-
Alongside your test, you can include a number of "sidecars" - other bundled JavaScript assets upon which your test depends. For example, suppose you have an app with frontend and backend components. You could run a React test in the web and include the Node HTTP server as a sidecar.
|
|
166
|
-
|
|
167
163
|
## `eslint` and `tsc`
|
|
168
164
|
|
|
169
165
|
Alongside the BDD tests, Testeranto runs ESLint and tsc on the input files to generate a list of static analysis errors and type errors, respectively.
|
|
170
166
|
|
|
167
|
+
## Sidecars (COMING SOON)
|
|
168
|
+
|
|
169
|
+
Alongside your test, you can include a number of "sidecars" - other bundled JavaScript assets upon which your test depends. For example, suppose you have an app with frontend and backend components. You could run a React test in the web and include the Node HTTP server as a sidecar.
|
|
170
|
+
|
|
171
171
|
## Subprojects
|
|
172
172
|
|
|
173
|
-
Testeranto has a core repo, but there are also
|
|
173
|
+
Testeranto has a core repo, but there are also sub-projects which implement tests by type and by technology
|
|
174
174
|
|
|
175
175
|
### testeranto-solidity
|
|
176
176
|
|
|
177
|
-
Test a solidity contract. Also included is an example of deploying a
|
|
177
|
+
Test a solidity contract. Also included is an example of deploying a contract to a ganache server.
|
|
178
178
|
|
|
179
179
|
### testeranto-reduxtoolkit
|
|
180
180
|
|
package/package.json
CHANGED
|
@@ -80,10 +80,10 @@
|
|
|
80
80
|
"id": "",
|
|
81
81
|
"location": {
|
|
82
82
|
"column": 57,
|
|
83
|
-
"file": "src/lib/
|
|
84
|
-
"length":
|
|
85
|
-
"line":
|
|
86
|
-
"lineText": "import { BaseGiven, BaseWhen, BaseThen, BaseCheck } from \"
|
|
83
|
+
"file": "src/lib/BaseSuite.test/test.ts",
|
|
84
|
+
"length": 17,
|
|
85
|
+
"line": 10,
|
|
86
|
+
"lineText": "import { BaseGiven, BaseWhen, BaseThen, BaseCheck } from \"../abstractBase\";",
|
|
87
87
|
"namespace": "",
|
|
88
88
|
"suggestion": ""
|
|
89
89
|
},
|
|
@@ -95,10 +95,10 @@
|
|
|
95
95
|
"id": "",
|
|
96
96
|
"location": {
|
|
97
97
|
"column": 57,
|
|
98
|
-
"file": "src/lib/
|
|
99
|
-
"length":
|
|
100
|
-
"line":
|
|
101
|
-
"lineText": "import { BaseGiven, BaseWhen, BaseThen, BaseCheck } from \"
|
|
98
|
+
"file": "src/lib/BaseSuite.test/test.ts",
|
|
99
|
+
"length": 17,
|
|
100
|
+
"line": 10,
|
|
101
|
+
"lineText": "import { BaseGiven, BaseWhen, BaseThen, BaseCheck } from \"../abstractBase\";",
|
|
102
102
|
"namespace": "",
|
|
103
103
|
"suggestion": ""
|
|
104
104
|
},
|
package/testeranto/index.html
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<title>testeranto - testeranto</title>
|
|
9
9
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
10
10
|
<meta name="author" content="" />
|
|
11
|
-
<base href="" target="_blank">
|
|
11
|
+
<base href="https://adamwong246.github.io/testeranto" target="_blank">
|
|
12
12
|
|
|
13
13
|
<script type="application/json" id="bigConfig">
|
|
14
14
|
["allTests","react"]
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
10
10
|
<meta name="author" content="" />
|
|
11
11
|
|
|
12
|
-
<base href="" target="_blank">
|
|
12
|
+
<base href="https://adamwong246.github.io/testeranto" target="_blank">
|
|
13
13
|
|
|
14
14
|
<link rel="stylesheet" href="../ReportClient.css" />
|
|
15
15
|
<script type="module" src="../ReportClient.js"></script>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
6
|
<meta name="description" content="Webpage description goes here" />
|
|
7
|
-
<base href="" target="_blank">
|
|
7
|
+
<base href="https://adamwong246.github.io/testeranto" target="_blank">
|
|
8
8
|
<meta charset="utf-8" />
|
|
9
9
|
<title>allTests - testeranto</title>
|
|
10
10
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
TypeError: Then.initializedProperly is not a function
|
|
2
|
-
at specification (file:///Users/adam/Code/testeranto/testeranto/bundles/pure/allTests/src/Pure.test.mjs?cacheBust=
|
|
2
|
+
at specification (file:///Users/adam/Code/testeranto/testeranto/bundles/pure/allTests/src/Pure.test.mjs?cacheBust=1752859260627:320:14)
|
|
3
3
|
at new BaseBuilder (file:///Users/adam/Code/testeranto/testeranto/bundles/pure/allTests/chunk-W22WOQNK.mjs:15:18)
|
|
4
4
|
at new ClassBuilder (file:///Users/adam/Code/testeranto/testeranto/bundles/pure/allTests/chunk-W22WOQNK.mjs:646:5)
|
|
5
5
|
at new TesterantoCore (file:///Users/adam/Code/testeranto/testeranto/bundles/pure/allTests/chunk-W22WOQNK.mjs:663:5)
|
|
6
6
|
at new PureTesteranto (file:///Users/adam/Code/testeranto/testeranto/bundles/pure/allTests/chunk-W22WOQNK.mjs:883:5)
|
|
7
7
|
at Pure_default (file:///Users/adam/Code/testeranto/testeranto/bundles/pure/allTests/chunk-W22WOQNK.mjs:904:10)
|
|
8
|
-
at file:///Users/adam/Code/testeranto/testeranto/bundles/pure/allTests/src/Pure.test.mjs?cacheBust=
|
|
8
|
+
at file:///Users/adam/Code/testeranto/testeranto/bundles/pure/allTests/src/Pure.test.mjs?cacheBust=1752859260627:360:25
|
|
9
9
|
at ModuleJob.run (node:internal/modules/esm/module_job:192:25)
|
|
10
10
|
at async CustomizedModuleLoader.import (node:internal/modules/esm/loader:228:24)
|
|
11
11
|
at launchPure (/Users/adam/Code/testeranto/src/PM/main.ts:577:7)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
6
|
<meta name="description" content="Webpage description goes here" />
|
|
7
|
-
<base href="" target="_blank">
|
|
7
|
+
<base href="https://adamwong246.github.io/testeranto" target="_blank">
|
|
8
8
|
<meta charset="utf-8" />
|
|
9
9
|
<title>allTests - testeranto</title>
|
|
10
10
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
6
|
<meta name="description" content="Webpage description goes here" />
|
|
7
|
-
<base href="" target="_blank">
|
|
7
|
+
<base href="https://adamwong246.github.io/testeranto" target="_blank">
|
|
8
8
|
<meta charset="utf-8" />
|
|
9
9
|
<title>allTests - testeranto</title>
|
|
10
10
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
TypeError: When.addArtifact is not a function
|
|
2
|
-
at specification (file:///Users/adam/Code/testeranto/testeranto/bundles/pure/allTests/src/lib/BaseSuite.test/pure.test.mjs?cacheBust=
|
|
2
|
+
at specification (file:///Users/adam/Code/testeranto/testeranto/bundles/pure/allTests/src/lib/BaseSuite.test/pure.test.mjs?cacheBust=1752859260625:139:14)
|
|
3
3
|
at new BaseBuilder (file:///Users/adam/Code/testeranto/testeranto/bundles/pure/allTests/chunk-W22WOQNK.mjs:15:18)
|
|
4
4
|
at new ClassBuilder (file:///Users/adam/Code/testeranto/testeranto/bundles/pure/allTests/chunk-W22WOQNK.mjs:646:5)
|
|
5
5
|
at new TesterantoCore (file:///Users/adam/Code/testeranto/testeranto/bundles/pure/allTests/chunk-W22WOQNK.mjs:663:5)
|
|
6
6
|
at new PureTesteranto (file:///Users/adam/Code/testeranto/testeranto/bundles/pure/allTests/chunk-W22WOQNK.mjs:883:5)
|
|
7
7
|
at Pure_default (file:///Users/adam/Code/testeranto/testeranto/bundles/pure/allTests/chunk-W22WOQNK.mjs:904:10)
|
|
8
|
-
at file:///Users/adam/Code/testeranto/testeranto/bundles/pure/allTests/src/lib/BaseSuite.test/pure.test.mjs?cacheBust=
|
|
8
|
+
at file:///Users/adam/Code/testeranto/testeranto/bundles/pure/allTests/src/lib/BaseSuite.test/pure.test.mjs?cacheBust=1752859260625:315:25
|
|
9
9
|
at ModuleJob.run (node:internal/modules/esm/module_job:192:25)
|
|
10
10
|
at async CustomizedModuleLoader.import (node:internal/modules/esm/loader:228:24)
|
|
11
11
|
at launchPure (/Users/adam/Code/testeranto/src/PM/main.ts:577:7)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
6
|
<meta name="description" content="Webpage description goes here" />
|
|
7
|
-
<base href="" target="_blank">
|
|
7
|
+
<base href="https://adamwong246.github.io/testeranto" target="_blank">
|
|
8
8
|
<meta charset="utf-8" />
|
|
9
9
|
<title>allTests - testeranto</title>
|
|
10
10
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
6
|
<meta name="description" content="Webpage description goes here" />
|
|
7
|
-
<base href="" target="_blank">
|
|
7
|
+
<base href="https://adamwong246.github.io/testeranto" target="_blank">
|
|
8
8
|
<meta charset="utf-8" />
|
|
9
9
|
<title>allTests - testeranto</title>
|
|
10
10
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
6
|
<meta name="description" content="Webpage description goes here" />
|
|
7
|
-
<base href="" target="_blank">
|
|
7
|
+
<base href="https://adamwong246.github.io/testeranto" target="_blank">
|
|
8
8
|
<meta charset="utf-8" />
|
|
9
9
|
<title>allTests - testeranto</title>
|
|
10
10
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
6
|
<meta name="description" content="Webpage description goes here" />
|
|
7
|
-
<base href="" target="_blank">
|
|
7
|
+
<base href="https://adamwong246.github.io/testeranto" target="_blank">
|
|
8
8
|
<meta charset="utf-8" />
|
|
9
9
|
<title>allTests - testeranto</title>
|
|
10
10
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
6
|
<meta name="description" content="Webpage description goes here" />
|
|
7
|
-
<base href="" target="_blank">
|
|
7
|
+
<base href="https://adamwong246.github.io/testeranto" target="_blank">
|
|
8
8
|
<meta charset="utf-8" />
|
|
9
9
|
<title>allTests - testeranto</title>
|
|
10
10
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
6
|
<meta name="description" content="Webpage description goes here" />
|
|
7
|
-
<base href="" target="_blank">
|
|
7
|
+
<base href="https://adamwong246.github.io/testeranto" target="_blank">
|
|
8
8
|
<meta charset="utf-8" />
|
|
9
9
|
<title>allTests - testeranto</title>
|
|
10
10
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
6
|
<meta name="description" content="Webpage description goes here" />
|
|
7
|
-
<base href="" target="_blank">
|
|
7
|
+
<base href="https://adamwong246.github.io/testeranto" target="_blank">
|
|
8
8
|
<meta charset="utf-8" />
|
|
9
9
|
<title>allTests - testeranto</title>
|
|
10
10
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
@@ -2,10 +2,10 @@ stdout > mark4
|
|
|
2
2
|
args [
|
|
3
3
|
'/Users/adam/.nvm/versions/node/v20.4.0/bin/node',
|
|
4
4
|
'/Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs',
|
|
5
|
-
'{"name":"src/lib/pmProxy.test/index.ts","ports":[],"fs":"testeranto/reports/allTests/src/lib/pmProxy.test/index/node","browserWSEndpoint":"ws://127.0.0.1:3234/devtools/browser/
|
|
6
|
-
'/tmp/tpipe_0.
|
|
5
|
+
'{"name":"src/lib/pmProxy.test/index.ts","ports":[],"fs":"testeranto/reports/allTests/src/lib/pmProxy.test/index/node","browserWSEndpoint":"ws://127.0.0.1:3234/devtools/browser/64d15b8c-802e-4c8f-939c-c7b1bd837877"}',
|
|
6
|
+
'/tmp/tpipe_0.5973277359466966'
|
|
7
7
|
]
|
|
8
|
-
receiveTestResourceConfig {"name":"src/lib/pmProxy.test/index.ts","ports":[],"fs":"testeranto/reports/allTests/src/lib/pmProxy.test/index/node","browserWSEndpoint":"ws://127.0.0.1:3234/devtools/browser/
|
|
8
|
+
receiveTestResourceConfig {"name":"src/lib/pmProxy.test/index.ts","ports":[],"fs":"testeranto/reports/allTests/src/lib/pmProxy.test/index/node","browserWSEndpoint":"ws://127.0.0.1:3234/devtools/browser/64d15b8c-802e-4c8f-939c-c7b1bd837877"}
|
|
9
9
|
stderr > Given error 1: TypeError: store.butThenProxy is not a function
|
|
10
10
|
at Then.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs:137:31)
|
|
11
11
|
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-RF3LIUSG.mjs:606:29
|