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 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 and is not ready for production yet. 🚧
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: [index.html](https://adamwong246.github.io/testeranto/)
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 subprojects which implement tests by type and by technology
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 contrct to a ganache server.
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "testeranto",
3
3
  "description": "the AI powered BDD test framework for typescript projects",
4
- "version": "0.146.0",
4
+ "version": "0.146.1",
5
5
  "engines": {
6
6
  "node": "18.18.0"
7
7
  },
@@ -80,10 +80,10 @@
80
80
  "id": "",
81
81
  "location": {
82
82
  "column": 57,
83
- "file": "src/lib/core.ts",
84
- "length": 19,
85
- "line": 11,
86
- "lineText": "import { BaseGiven, BaseWhen, BaseThen, BaseCheck } from \"./abstractBase.js\";",
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/core.ts",
99
- "length": 19,
100
- "line": 11,
101
- "lineText": "import { BaseGiven, BaseWhen, BaseThen, BaseCheck } from \"./abstractBase.js\";",
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
  },
@@ -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=1752858679393:320:14)
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=1752858679393:360:25
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=1752858679392:139:14)
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=1752858679392:315:25
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" />
@@ -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" />
@@ -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/3bc6c3d8-8947-40e9-96c7-53ef79166410"}',
6
- '/tmp/tpipe_0.6565458683998961'
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/3bc6c3d8-8947-40e9-96c7-53ef79166410"}
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
@@ -105,6 +105,6 @@ const config: IProject = {
105
105
  importPlugins: [],
106
106
  },
107
107
  },
108
- reportDomain: "",
108
+ reportDomain: "https://adamwong246.github.io/testeranto",
109
109
  };
110
110
  export default config;