testeranto 0.219.12 → 0.219.14
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/dist/common/src/Types.js +61 -0
- package/dist/common/src/esbuildConfigs/index.js +2 -1
- package/dist/common/src/server/runtimes/node/docker.js +7 -6
- package/dist/common/src/server/runtimes/node/esbuild.js +18 -18
- package/dist/common/src/server/runtimes/node/node.js +12 -9
- package/dist/common/src/server/serverClasees/Server_Base.js +2 -1
- package/dist/common/src/server/serverClasees/Server_Docker.js +81 -99
- package/dist/common/src/testeranto.js +29 -31
- package/dist/common/testeranto/runtimes/node/node.js +2 -1
- package/dist/common/testeranto/testeranto.js +70 -0
- package/dist/common/tsconfig.common.tsbuildinfo +1 -1
- package/dist/module/src/Types.js +61 -0
- package/dist/module/src/esbuildConfigs/index.js +2 -1
- package/dist/module/src/server/runtimes/node/docker.js +7 -6
- package/dist/module/src/server/runtimes/node/esbuild.js +18 -18
- package/dist/module/src/server/runtimes/node/node.js +12 -9
- package/dist/module/src/server/serverClasees/Server_Base.js +2 -1
- package/dist/module/src/server/serverClasees/Server_Docker.js +81 -99
- package/dist/module/src/testeranto.js +29 -28
- package/dist/module/testeranto/runtimes/node/node.js +2 -1
- package/dist/module/testeranto/testeranto.js +68 -0
- package/dist/module/tsconfig.module.tsbuildinfo +1 -1
- package/dist/prebuild/{chunk-MU5PJQAO.mjs → chunk-QLT7PNPK.mjs} +3 -3
- package/dist/prebuild/server/runtimes/node/node.mjs +20 -22
- package/dist/prebuild/server/runtimes/web/web.mjs +1 -1
- package/dist/prebuild/testeranto-6SAYRVSE.mjs +72 -0
- package/dist/prebuild/testeranto.mjs +75 -108
- package/dist/types/{Types.d.ts → src/Types.d.ts} +14 -79
- package/dist/types/src/esbuildConfigs/index.d.ts +3 -0
- package/dist/types/{server → src/server}/runtimes/golang/docker.d.ts +2 -2
- package/dist/types/src/server/runtimes/node/docker.d.ts +14 -0
- package/dist/types/src/server/runtimes/node/esbuild.d.ts +4 -0
- package/dist/types/{server → src/server}/serverClasees/Server.d.ts +2 -2
- package/dist/types/{server → src/server}/serverClasees/Server_Base.d.ts +3 -3
- package/dist/types/{server → src/server}/serverClasees/Server_Docker.d.ts +2 -2
- package/dist/types/{server → src/server}/serverClasees/Server_HTTP.d.ts +2 -2
- package/dist/types/{server → src/server}/serverClasees/Server_WS.d.ts +2 -2
- package/dist/types/testeranto/testeranto.d.ts +3 -0
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/Types.ts +132 -69
- package/src/esbuildConfigs/index.ts +4 -3
- package/src/lib/pitono/pyproject.toml +1 -1
- package/src/server/runtimes/golang/docker.ts +2 -2
- package/src/server/runtimes/node/docker.ts +10 -7
- package/src/server/runtimes/node/esbuild.ts +21 -19
- package/src/server/runtimes/node/node.ts +14 -10
- package/src/server/serverClasees/Server.ts +3 -2
- package/src/server/serverClasees/Server_Base.ts +7 -6
- package/src/server/serverClasees/Server_Docker.ts +105 -111
- package/src/server/serverClasees/Server_HTTP.ts +2 -2
- package/src/server/serverClasees/Server_WS.ts +2 -2
- package/src/testeranto.ts +37 -32
- package/testeranto/bundles/allTests/node/{Node-JOOBJDHW.mjs → Node-MSIIDKGC.mjs} +64 -28
- package/testeranto/docker-compose.yml +34 -74
- package/testeranto/runtimes/node/node.Dockerfile +0 -1
- package/testeranto/runtimes/node/node.ts +2 -1
- package/testeranto/testeranto.ts +90 -0
- package/tsconfig.json +1 -1
- package/allTests.ts +0 -52
- package/dist/common/allTests.js +0 -39
- package/dist/module/allTests.js +0 -37
- package/dist/types/esbuildConfigs/index.d.ts +0 -4
- package/dist/types/server/runtimes/node/docker.d.ts +0 -14
- package/dist/types/server/runtimes/node/esbuild.d.ts +0 -4
- /package/dist/types/{Init.d.ts → src/Init.d.ts} +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/consoleDetectorPlugin.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/eslint-formatter-testeranto.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/featuresPlugin.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/inputFilesPlugin.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/nativeImportDetectorPlugin.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/rebuildPlugin.d.ts +0 -0
- /package/dist/types/{init-docs.d.ts → src/init-docs.d.ts} +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/BaseGiven.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/BaseSuite.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/BaseThen.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/BaseTiposkripto.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/BaseWhen.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/CoreTypes.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/Node.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/Tiposkripto.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/Types.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/Web.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/abstractBase.test/MockGiven.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/abstractBase.test/MockThen.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/abstractBase.test/MockWhen.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/abstractBase.test/adapter.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/abstractBase.test/implementation.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/abstractBase.test/index.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/abstractBase.test/specification.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/abstractBase.test/types.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/tiposkripto/index.d.ts +0 -0
- /package/dist/types/{runtimes.d.ts → src/runtimes.d.ts} +0 -0
- /package/dist/types/{server → src/server}/aider/configParser.d.ts +0 -0
- /package/dist/types/{server → src/server}/aider/docker.d.ts +0 -0
- /package/dist/types/{server → src/server}/getRunnables.d.ts +0 -0
- /package/dist/types/{server → src/server}/htmlTemplate.d.ts +0 -0
- /package/dist/types/{server → src/server}/nodeVersion.d.ts +0 -0
- /package/dist/types/{server → src/server}/runtimes/common.d.ts +0 -0
- /package/dist/types/{server → src/server}/runtimes/java/docker.d.ts +0 -0
- /package/dist/types/{server → src/server}/runtimes/node/node.d.ts +0 -0
- /package/dist/types/{server → src/server}/runtimes/python/docker.d.ts +0 -0
- /package/dist/types/{server → src/server}/runtimes/ruby/docker.d.ts +0 -0
- /package/dist/types/{server → src/server}/runtimes/rust/docker.d.ts +0 -0
- /package/dist/types/{server → src/server}/runtimes/web/docker.d.ts +0 -0
- /package/dist/types/{server → src/server}/runtimes/web/esbuild.d.ts +0 -0
- /package/dist/types/{server → src/server}/runtimes/web/hoist.d.ts +0 -0
- /package/dist/types/{server → src/server}/runtimes/web/web.d.ts +0 -0
- /package/dist/types/{server → src/server}/serverClasees/Server_FS.d.ts +0 -0
- /package/dist/types/{server → src/server}/serverManagers/DockerManager.d.ts +0 -0
- /package/dist/types/{server → src/server}/serverManagers/HttpManager.d.ts +0 -0
- /package/dist/types/{server → src/server}/serverManagers/WsManager.d.ts +0 -0
- /package/dist/types/{server → src/server}/serverManagers/fs.d.ts +0 -0
- /package/dist/types/{server → src/server}/serverManagers/tcp.d.ts +0 -0
- /package/dist/types/{server → src/server}/types.d.ts +0 -0
- /package/dist/types/{testeranto.d.ts → src/testeranto.d.ts} +0 -0
- /package/dist/types/{vscode → src/vscode}/TerminalManager.d.ts +0 -0
- /package/dist/types/{vscode → src/vscode}/TestTreeItem.d.ts +0 -0
- /package/dist/types/{vscode → src/vscode}/extension.d.ts +0 -0
- /package/dist/types/{vscode → src/vscode}/providers/FeaturesTreeDataProvider.d.ts +0 -0
- /package/dist/types/{vscode → src/vscode}/providers/FileTreeDataProvider.d.ts +0 -0
- /package/dist/types/{vscode → src/vscode}/providers/ProcessesTreeDataProvider.d.ts +0 -0
- /package/dist/types/{vscode → src/vscode}/providers/ResultsTreeDataProvider.d.ts +0 -0
- /package/dist/types/{vscode → src/vscode}/providers/TestTreeDataProvider.d.ts +0 -0
- /package/dist/types/{vscode → src/vscode}/types.d.ts +0 -0
- /package/testeranto/{testeranto.yml → testeranto-deprecateed.yml} +0 -0
|
@@ -11,14 +11,14 @@ services:
|
|
|
11
11
|
- /Users/adam/Code/testeranto/example:/workspace/example
|
|
12
12
|
- /Users/adam/Code/testeranto/dist:/workspace/dist
|
|
13
13
|
- /Users/adam/Code/testeranto/testeranto:/workspace/testeranto
|
|
14
|
-
command: yarn tsx src/server/runtimes/node/node.ts /workspace/testeranto/runtimes/node/node.ts
|
|
14
|
+
command: yarn tsx node_modules/testeranto/src/server/runtimes/node/node.ts /workspace/testeranto/testeranto.ts testeranto/runtimes/node/node.ts nodetests
|
|
15
15
|
networks:
|
|
16
16
|
- allTests_network
|
|
17
|
-
|
|
17
|
+
nodetests-example_calculator-test-ts-bdd:
|
|
18
18
|
build:
|
|
19
19
|
context: /Users/adam/Code/testeranto
|
|
20
20
|
dockerfile: testeranto/runtimes/node/node.Dockerfile
|
|
21
|
-
container_name:
|
|
21
|
+
container_name: nodetests-example_calculator-test-ts-bdd
|
|
22
22
|
environment: {}
|
|
23
23
|
working_dir: /workspace
|
|
24
24
|
volumes:
|
|
@@ -29,11 +29,11 @@ services:
|
|
|
29
29
|
command: node testeranto/bundles/allTests/node/example/Calculator.test.mjs /workspace/node.js
|
|
30
30
|
networks:
|
|
31
31
|
- allTests_network
|
|
32
|
-
|
|
32
|
+
nodetests-example_calculator-test-ts-aider:
|
|
33
33
|
build:
|
|
34
34
|
context: /Users/adam/Code/testeranto
|
|
35
35
|
dockerfile: aider.Dockerfile
|
|
36
|
-
container_name:
|
|
36
|
+
container_name: nodetests-example_calculator-test-ts-aider
|
|
37
37
|
environment: {}
|
|
38
38
|
working_dir: /workspace
|
|
39
39
|
command: aider
|
|
@@ -54,11 +54,11 @@ services:
|
|
|
54
54
|
command: yarn tsx src/server/runtimes/web/web.ts /workspace/testeranto/runtimes/web/web.ts
|
|
55
55
|
networks:
|
|
56
56
|
- allTests_network
|
|
57
|
-
|
|
57
|
+
webtests-example_calculator-test-ts-bdd:
|
|
58
58
|
build:
|
|
59
59
|
context: /Users/adam/Code/testeranto
|
|
60
60
|
dockerfile: testeranto/runtimes/web/web.Dockerfile
|
|
61
|
-
container_name:
|
|
61
|
+
container_name: webtests-example_calculator-test-ts-bdd
|
|
62
62
|
environment: {}
|
|
63
63
|
working_dir: /workspace
|
|
64
64
|
volumes:
|
|
@@ -69,11 +69,11 @@ services:
|
|
|
69
69
|
command: 'node dist/prebuild/server/runtimes/web/hoist.mjs '
|
|
70
70
|
networks:
|
|
71
71
|
- allTests_network
|
|
72
|
-
|
|
72
|
+
webtests-example_calculator-test-ts-aider:
|
|
73
73
|
build:
|
|
74
74
|
context: /Users/adam/Code/testeranto
|
|
75
75
|
dockerfile: aider.Dockerfile
|
|
76
|
-
container_name:
|
|
76
|
+
container_name: webtests-example_calculator-test-ts-aider
|
|
77
77
|
environment: {}
|
|
78
78
|
working_dir: /workspace
|
|
79
79
|
command: aider
|
|
@@ -91,14 +91,14 @@ services:
|
|
|
91
91
|
- /Users/adam/Code/testeranto/example:/workspace/example
|
|
92
92
|
- /Users/adam/Code/testeranto/dist:/workspace/dist
|
|
93
93
|
- /Users/adam/Code/testeranto/testeranto:/workspace/testeranto
|
|
94
|
-
command: python src/server/runtimes/python/pitono.py /workspace/testeranto/runtimes/python/python.
|
|
94
|
+
command: python src/server/runtimes/python/pitono.py /workspace/testeranto/runtimes/python/python.ts
|
|
95
95
|
networks:
|
|
96
96
|
- allTests_network
|
|
97
|
-
|
|
97
|
+
pythontests-example_calculator-test-py-bdd:
|
|
98
98
|
build:
|
|
99
99
|
context: /Users/adam/Code/testeranto
|
|
100
100
|
dockerfile: testeranto/runtimes/python/python.Dockerfile
|
|
101
|
-
container_name:
|
|
101
|
+
container_name: pythontests-example_calculator-test-py-bdd
|
|
102
102
|
environment: {}
|
|
103
103
|
working_dir: /workspace
|
|
104
104
|
volumes:
|
|
@@ -106,14 +106,14 @@ services:
|
|
|
106
106
|
- /Users/adam/Code/testeranto/example:/workspace/example
|
|
107
107
|
- /Users/adam/Code/testeranto/dist:/workspace/dist
|
|
108
108
|
- /Users/adam/Code/testeranto/testeranto:/workspace/testeranto
|
|
109
|
-
command: python testeranto/bundles/allTests/python/example/Calculator.
|
|
109
|
+
command: python testeranto/bundles/allTests/python/example/Calculator.test.py '{"ports":[1111]}'
|
|
110
110
|
networks:
|
|
111
111
|
- allTests_network
|
|
112
|
-
|
|
112
|
+
pythontests-example_calculator-test-py-aider:
|
|
113
113
|
build:
|
|
114
114
|
context: /Users/adam/Code/testeranto
|
|
115
115
|
dockerfile: aider.Dockerfile
|
|
116
|
-
container_name:
|
|
116
|
+
container_name: pythontests-example_calculator-test-py-aider
|
|
117
117
|
environment: {}
|
|
118
118
|
working_dir: /workspace
|
|
119
119
|
command: aider
|
|
@@ -134,11 +134,11 @@ services:
|
|
|
134
134
|
command: go run src/server/runtimes/golang/main.go
|
|
135
135
|
networks:
|
|
136
136
|
- allTests_network
|
|
137
|
-
|
|
137
|
+
golangtests-example_calculator-test-go-bdd:
|
|
138
138
|
build:
|
|
139
139
|
context: /Users/adam/Code/testeranto
|
|
140
140
|
dockerfile: testeranto/runtimes/golang/golang.Dockerfile
|
|
141
|
-
container_name:
|
|
141
|
+
container_name: golangtests-example_calculator-test-go-bdd
|
|
142
142
|
environment: {}
|
|
143
143
|
working_dir: /workspace
|
|
144
144
|
volumes:
|
|
@@ -149,21 +149,21 @@ services:
|
|
|
149
149
|
command: go run example/cmd/calculator-test
|
|
150
150
|
networks:
|
|
151
151
|
- allTests_network
|
|
152
|
-
|
|
152
|
+
golangtests-example_calculator-test-go-aider:
|
|
153
153
|
build:
|
|
154
154
|
context: /Users/adam/Code/testeranto
|
|
155
155
|
dockerfile: aider.Dockerfile
|
|
156
|
-
container_name:
|
|
156
|
+
container_name: golangtests-example_calculator-test-go-aider
|
|
157
157
|
environment: {}
|
|
158
158
|
working_dir: /workspace
|
|
159
159
|
command: aider
|
|
160
160
|
networks:
|
|
161
161
|
- allTests_network
|
|
162
|
-
|
|
162
|
+
rust-builder:
|
|
163
163
|
build:
|
|
164
164
|
context: /Users/adam/Code/testeranto
|
|
165
|
-
dockerfile: testeranto/runtimes/
|
|
166
|
-
container_name:
|
|
165
|
+
dockerfile: testeranto/runtimes/rust/rust.Dockerfile
|
|
166
|
+
container_name: rust-builder
|
|
167
167
|
environment: {}
|
|
168
168
|
working_dir: /workspace
|
|
169
169
|
volumes:
|
|
@@ -171,14 +171,14 @@ services:
|
|
|
171
171
|
- /Users/adam/Code/testeranto/example:/workspace/example
|
|
172
172
|
- /Users/adam/Code/testeranto/dist:/workspace/dist
|
|
173
173
|
- /Users/adam/Code/testeranto/testeranto:/workspace/testeranto
|
|
174
|
-
command:
|
|
174
|
+
command: sh -c "CONFIG_PATH=/workspace/testeranto/runtimes/rust/rust.ts cargo build --release && ./target/release/my_program"
|
|
175
175
|
networks:
|
|
176
176
|
- allTests_network
|
|
177
|
-
|
|
177
|
+
rusttests-example_calculator-test-rs-bdd:
|
|
178
178
|
build:
|
|
179
179
|
context: /Users/adam/Code/testeranto
|
|
180
|
-
dockerfile: testeranto/runtimes/
|
|
181
|
-
container_name:
|
|
180
|
+
dockerfile: testeranto/runtimes/rust/rust.Dockerfile
|
|
181
|
+
container_name: rusttests-example_calculator-test-rs-bdd
|
|
182
182
|
environment: {}
|
|
183
183
|
working_dir: /workspace
|
|
184
184
|
volumes:
|
|
@@ -186,14 +186,14 @@ services:
|
|
|
186
186
|
- /Users/adam/Code/testeranto/example:/workspace/example
|
|
187
187
|
- /Users/adam/Code/testeranto/dist:/workspace/dist
|
|
188
188
|
- /Users/adam/Code/testeranto/testeranto:/workspace/testeranto
|
|
189
|
-
command:
|
|
189
|
+
command: rustc testeranto/bundles/rust/testeranto/bundles/allTests/rust/example/Calculator.test.rs /workspace/rust.rs
|
|
190
190
|
networks:
|
|
191
191
|
- allTests_network
|
|
192
|
-
|
|
192
|
+
rusttests-example_calculator-test-rs-aider:
|
|
193
193
|
build:
|
|
194
194
|
context: /Users/adam/Code/testeranto
|
|
195
195
|
dockerfile: aider.Dockerfile
|
|
196
|
-
container_name:
|
|
196
|
+
container_name: rusttests-example_calculator-test-rs-aider
|
|
197
197
|
environment: {}
|
|
198
198
|
working_dir: /workspace
|
|
199
199
|
command: aider
|
|
@@ -211,14 +211,14 @@ services:
|
|
|
211
211
|
- /Users/adam/Code/testeranto/example:/workspace/example
|
|
212
212
|
- /Users/adam/Code/testeranto/dist:/workspace/dist
|
|
213
213
|
- /Users/adam/Code/testeranto/testeranto:/workspace/testeranto
|
|
214
|
-
command: ruby src/server/runtimes/ruby/ruby.rb /workspace/testeranto/runtimes/ruby/ruby.
|
|
214
|
+
command: ruby src/server/runtimes/ruby/ruby.rb /workspace/testeranto/runtimes/ruby/ruby.ts
|
|
215
215
|
networks:
|
|
216
216
|
- allTests_network
|
|
217
|
-
|
|
217
|
+
rubytests-example_calculator-test-rb-bdd:
|
|
218
218
|
build:
|
|
219
219
|
context: /Users/adam/Code/testeranto
|
|
220
220
|
dockerfile: testeranto/runtimes/ruby/ruby.Dockerfile
|
|
221
|
-
container_name:
|
|
221
|
+
container_name: rubytests-example_calculator-test-rb-bdd
|
|
222
222
|
environment: {}
|
|
223
223
|
working_dir: /workspace
|
|
224
224
|
volumes:
|
|
@@ -229,51 +229,11 @@ services:
|
|
|
229
229
|
command: ruby testeranto/bundles/allTests/ruby/example/Calculator.test.rb '{"ports":[1111]}'
|
|
230
230
|
networks:
|
|
231
231
|
- allTests_network
|
|
232
|
-
|
|
233
|
-
build:
|
|
234
|
-
context: /Users/adam/Code/testeranto
|
|
235
|
-
dockerfile: aider.Dockerfile
|
|
236
|
-
container_name: ruby_tests-example_calculator-test-rb-aider
|
|
237
|
-
environment: {}
|
|
238
|
-
working_dir: /workspace
|
|
239
|
-
command: aider
|
|
240
|
-
networks:
|
|
241
|
-
- allTests_network
|
|
242
|
-
rust-builder:
|
|
243
|
-
build:
|
|
244
|
-
context: /Users/adam/Code/testeranto
|
|
245
|
-
dockerfile: testeranto/runtimes/rust/rust.Dockerfile
|
|
246
|
-
container_name: rust-builder
|
|
247
|
-
environment: {}
|
|
248
|
-
working_dir: /workspace
|
|
249
|
-
volumes:
|
|
250
|
-
- /Users/adam/Code/testeranto/src:/workspace/src
|
|
251
|
-
- /Users/adam/Code/testeranto/example:/workspace/example
|
|
252
|
-
- /Users/adam/Code/testeranto/dist:/workspace/dist
|
|
253
|
-
- /Users/adam/Code/testeranto/testeranto:/workspace/testeranto
|
|
254
|
-
command: sh -c "CONFIG_PATH=/workspace/testeranto/runtimes/rust/rust.rs cargo build --release && ./target/release/my_program"
|
|
255
|
-
networks:
|
|
256
|
-
- allTests_network
|
|
257
|
-
rust_tests-example_calculator-test-rs-bdd:
|
|
258
|
-
build:
|
|
259
|
-
context: /Users/adam/Code/testeranto
|
|
260
|
-
dockerfile: testeranto/runtimes/rust/rust.Dockerfile
|
|
261
|
-
container_name: rust_tests-example_calculator-test-rs-bdd
|
|
262
|
-
environment: {}
|
|
263
|
-
working_dir: /workspace
|
|
264
|
-
volumes:
|
|
265
|
-
- /Users/adam/Code/testeranto/src:/workspace/src
|
|
266
|
-
- /Users/adam/Code/testeranto/example:/workspace/example
|
|
267
|
-
- /Users/adam/Code/testeranto/dist:/workspace/dist
|
|
268
|
-
- /Users/adam/Code/testeranto/testeranto:/workspace/testeranto
|
|
269
|
-
command: rustc testeranto/bundles/rust/testeranto/bundles/allTests/rust/example/Calculator.test.rs /workspace/rust.rs
|
|
270
|
-
networks:
|
|
271
|
-
- allTests_network
|
|
272
|
-
rust_tests-example_calculator-test-rs-aider:
|
|
232
|
+
rubytests-example_calculator-test-rb-aider:
|
|
273
233
|
build:
|
|
274
234
|
context: /Users/adam/Code/testeranto
|
|
275
235
|
dockerfile: aider.Dockerfile
|
|
276
|
-
container_name:
|
|
236
|
+
container_name: rubytests-example_calculator-test-rb-aider
|
|
277
237
|
environment: {}
|
|
278
238
|
working_dir: /workspace
|
|
279
239
|
command: aider
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { ITestconfigV2 } from "../src/Types";
|
|
2
|
+
|
|
3
|
+
const config: ITestconfigV2 = {
|
|
4
|
+
featureIngestor: function (s: string): Promise<string> {
|
|
5
|
+
throw new Error("Function not implemented.");
|
|
6
|
+
},
|
|
7
|
+
|
|
8
|
+
runtimes: {
|
|
9
|
+
nodetests: (
|
|
10
|
+
{
|
|
11
|
+
runtime: "node",
|
|
12
|
+
tests: ["example/Calculator.test.ts"],
|
|
13
|
+
checks: [
|
|
14
|
+
(x) => `yarn eslint`,
|
|
15
|
+
(x) => `yarn tsc --noEmit`,
|
|
16
|
+
],
|
|
17
|
+
dockerfile: `testeranto/runtimes/node/node.Dockerfile`,
|
|
18
|
+
buildOptions: `testeranto/runtimes/node/node.ts`
|
|
19
|
+
}
|
|
20
|
+
),
|
|
21
|
+
|
|
22
|
+
webtests: (
|
|
23
|
+
{
|
|
24
|
+
runtime: "web",
|
|
25
|
+
tests: ["example/Calculator.test.ts"],
|
|
26
|
+
checks: [
|
|
27
|
+
(x) => `yarn eslint`,
|
|
28
|
+
(x) => `yarn tsc --noEmit`,
|
|
29
|
+
],
|
|
30
|
+
dockerfile: `testeranto/runtimes/web/web.Dockerfile`,
|
|
31
|
+
buildOptions: `testeranto/runtimes/web/web.ts`
|
|
32
|
+
}
|
|
33
|
+
),
|
|
34
|
+
|
|
35
|
+
pythontests: (
|
|
36
|
+
{
|
|
37
|
+
runtime: "python",
|
|
38
|
+
tests: ["example/Calculator.test.py"],
|
|
39
|
+
checks: [
|
|
40
|
+
(x) => `yarn eslint`,
|
|
41
|
+
(x) => `yarn tsc --noEmit`,
|
|
42
|
+
],
|
|
43
|
+
dockerfile: `testeranto/runtimes/python/python.Dockerfile`,
|
|
44
|
+
buildOptions: `testeranto/runtimes/python/python.ts`
|
|
45
|
+
}
|
|
46
|
+
),
|
|
47
|
+
|
|
48
|
+
golangtests: (
|
|
49
|
+
{
|
|
50
|
+
runtime: "golang",
|
|
51
|
+
tests: ["example/Calculator.test.go"],
|
|
52
|
+
checks: [
|
|
53
|
+
(x) => `yarn eslint`,
|
|
54
|
+
(x) => `yarn tsc --noEmit`,
|
|
55
|
+
],
|
|
56
|
+
dockerfile: `testeranto/runtimes/golang/golang.Dockerfile`,
|
|
57
|
+
buildOptions: `testeranto/runtimes/golang/golang.ts`
|
|
58
|
+
}
|
|
59
|
+
),
|
|
60
|
+
|
|
61
|
+
rusttests: (
|
|
62
|
+
{
|
|
63
|
+
runtime: "rust",
|
|
64
|
+
tests: ["example/Calculator.test.rs"],
|
|
65
|
+
checks: [
|
|
66
|
+
(x) => `yarn eslint`,
|
|
67
|
+
(x) => `yarn tsc --noEmit`,
|
|
68
|
+
],
|
|
69
|
+
dockerfile: `testeranto/runtimes/rust/rust.Dockerfile`,
|
|
70
|
+
buildOptions: `testeranto/runtimes/rust/rust.ts`
|
|
71
|
+
}
|
|
72
|
+
),
|
|
73
|
+
|
|
74
|
+
rubytests: (
|
|
75
|
+
{
|
|
76
|
+
runtime: "ruby",
|
|
77
|
+
tests: ["example/Calculator.test.rb"],
|
|
78
|
+
checks: [
|
|
79
|
+
(x) => `yarn eslint`,
|
|
80
|
+
(x) => `yarn tsc --noEmit`,
|
|
81
|
+
],
|
|
82
|
+
dockerfile: `testeranto/runtimes/ruby/ruby.Dockerfile`,
|
|
83
|
+
buildOptions: `testeranto/runtimes/ruby/ruby.ts`
|
|
84
|
+
}
|
|
85
|
+
),
|
|
86
|
+
},
|
|
87
|
+
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export default config;
|
package/tsconfig.json
CHANGED
package/allTests.ts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { ITestconfig } from "./src/Types";
|
|
2
|
-
import { createLangConfig } from "./allTestsUtils";
|
|
3
|
-
|
|
4
|
-
const config: ITestconfig = {
|
|
5
|
-
featureIngestor: function (s: string): Promise<string> {
|
|
6
|
-
throw new Error("Function not implemented.");
|
|
7
|
-
},
|
|
8
|
-
importPlugins: [],
|
|
9
|
-
httpPort: 3456,
|
|
10
|
-
|
|
11
|
-
ports: ["3333", "3334"],
|
|
12
|
-
src: "",
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
rust: createLangConfig("example/Calculator.test.rs", [
|
|
16
|
-
(x) => `yarn eslint}`,
|
|
17
|
-
(x) => `yarn tsc --noEmit }`,
|
|
18
|
-
], `testeranto/runtimes/rust/rust.Dockerfile`, { volumes: ['eslint.config.mjs'] }),
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
java: createLangConfig("example/Calculator.test.java", [
|
|
22
|
-
(x) => `yarn eslint}`,
|
|
23
|
-
(x) => `yarn tsc --noEmit }`,
|
|
24
|
-
], `testeranto/runtimes/java/java.Dockerfile`, { volumes: ['eslint.config.mjs'] }),
|
|
25
|
-
|
|
26
|
-
ruby: createLangConfig("example/calculator-test-ruby.rb", [
|
|
27
|
-
(x: string[]) => `rubocop`,
|
|
28
|
-
], `testeranto/runtimes/ruby/ruby.Dockerfile`
|
|
29
|
-
),
|
|
30
|
-
|
|
31
|
-
golang: createLangConfig("example/cmd/calculator-test/main.go", [
|
|
32
|
-
(x) => `golangci-lint run }`,
|
|
33
|
-
], `testeranto/runtimes/golang/golang.Dockerfile`
|
|
34
|
-
),
|
|
35
|
-
|
|
36
|
-
python: createLangConfig("example/Calculator.pitono.test.py", [
|
|
37
|
-
(x) => `pylint }`,
|
|
38
|
-
], `python.Dockerfile`),
|
|
39
|
-
|
|
40
|
-
web: createLangConfig("example/Calculator.test.ts", [
|
|
41
|
-
(x) => `yarn eslint}`,
|
|
42
|
-
(x) => `yarn tsc --noEmit }`,
|
|
43
|
-
], `web.Dockerfile`, { volumes: ['eslint.config.mjs'] }),
|
|
44
|
-
|
|
45
|
-
node: createLangConfig("example/Calculator.test.ts", [
|
|
46
|
-
(x) => `yarn eslint }`,
|
|
47
|
-
(x) => `yarn tsc --noEmit }`,
|
|
48
|
-
], `node.Dockerfile`, { volumes: ['eslint.config.mjs'] }),
|
|
49
|
-
check: ""
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
export default config;
|
package/dist/common/allTests.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const allTestsUtils_1 = require("./allTestsUtils");
|
|
4
|
-
const config = {
|
|
5
|
-
featureIngestor: function (s) {
|
|
6
|
-
throw new Error("Function not implemented.");
|
|
7
|
-
},
|
|
8
|
-
importPlugins: [],
|
|
9
|
-
httpPort: 3456,
|
|
10
|
-
ports: ["3333", "3334"],
|
|
11
|
-
src: "",
|
|
12
|
-
rust: (0, allTestsUtils_1.createLangConfig)("example/Calculator.test.rs", [
|
|
13
|
-
(x) => `yarn eslint}`,
|
|
14
|
-
(x) => `yarn tsc --noEmit }`,
|
|
15
|
-
], `testeranto/runtimes/rust/rust.Dockerfile`, { volumes: ['eslint.config.mjs'] }),
|
|
16
|
-
java: (0, allTestsUtils_1.createLangConfig)("example/Calculator.test.java", [
|
|
17
|
-
(x) => `yarn eslint}`,
|
|
18
|
-
(x) => `yarn tsc --noEmit }`,
|
|
19
|
-
], `testeranto/runtimes/java/java.Dockerfile`, { volumes: ['eslint.config.mjs'] }),
|
|
20
|
-
ruby: (0, allTestsUtils_1.createLangConfig)("example/calculator-test-ruby.rb", [
|
|
21
|
-
(x) => `rubocop`,
|
|
22
|
-
], `testeranto/runtimes/ruby/ruby.Dockerfile`),
|
|
23
|
-
golang: (0, allTestsUtils_1.createLangConfig)("example/cmd/calculator-test/main.go", [
|
|
24
|
-
(x) => `golangci-lint run }`,
|
|
25
|
-
], `testeranto/runtimes/golang/golang.Dockerfile`),
|
|
26
|
-
python: (0, allTestsUtils_1.createLangConfig)("example/Calculator.pitono.test.py", [
|
|
27
|
-
(x) => `pylint }`,
|
|
28
|
-
], `python.Dockerfile`),
|
|
29
|
-
web: (0, allTestsUtils_1.createLangConfig)("example/Calculator.test.ts", [
|
|
30
|
-
(x) => `yarn eslint}`,
|
|
31
|
-
(x) => `yarn tsc --noEmit }`,
|
|
32
|
-
], `web.Dockerfile`, { volumes: ['eslint.config.mjs'] }),
|
|
33
|
-
node: (0, allTestsUtils_1.createLangConfig)("example/Calculator.test.ts", [
|
|
34
|
-
(x) => `yarn eslint }`,
|
|
35
|
-
(x) => `yarn tsc --noEmit }`,
|
|
36
|
-
], `node.Dockerfile`, { volumes: ['eslint.config.mjs'] }),
|
|
37
|
-
check: ""
|
|
38
|
-
};
|
|
39
|
-
exports.default = config;
|
package/dist/module/allTests.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { createLangConfig } from "./allTestsUtils";
|
|
2
|
-
const config = {
|
|
3
|
-
featureIngestor: function (s) {
|
|
4
|
-
throw new Error("Function not implemented.");
|
|
5
|
-
},
|
|
6
|
-
importPlugins: [],
|
|
7
|
-
httpPort: 3456,
|
|
8
|
-
ports: ["3333", "3334"],
|
|
9
|
-
src: "",
|
|
10
|
-
rust: createLangConfig("example/Calculator.test.rs", [
|
|
11
|
-
(x) => `yarn eslint}`,
|
|
12
|
-
(x) => `yarn tsc --noEmit }`,
|
|
13
|
-
], `testeranto/runtimes/rust/rust.Dockerfile`, { volumes: ['eslint.config.mjs'] }),
|
|
14
|
-
java: createLangConfig("example/Calculator.test.java", [
|
|
15
|
-
(x) => `yarn eslint}`,
|
|
16
|
-
(x) => `yarn tsc --noEmit }`,
|
|
17
|
-
], `testeranto/runtimes/java/java.Dockerfile`, { volumes: ['eslint.config.mjs'] }),
|
|
18
|
-
ruby: createLangConfig("example/calculator-test-ruby.rb", [
|
|
19
|
-
(x) => `rubocop`,
|
|
20
|
-
], `testeranto/runtimes/ruby/ruby.Dockerfile`),
|
|
21
|
-
golang: createLangConfig("example/cmd/calculator-test/main.go", [
|
|
22
|
-
(x) => `golangci-lint run }`,
|
|
23
|
-
], `testeranto/runtimes/golang/golang.Dockerfile`),
|
|
24
|
-
python: createLangConfig("example/Calculator.pitono.test.py", [
|
|
25
|
-
(x) => `pylint }`,
|
|
26
|
-
], `python.Dockerfile`),
|
|
27
|
-
web: createLangConfig("example/Calculator.test.ts", [
|
|
28
|
-
(x) => `yarn eslint}`,
|
|
29
|
-
(x) => `yarn tsc --noEmit }`,
|
|
30
|
-
], `web.Dockerfile`, { volumes: ['eslint.config.mjs'] }),
|
|
31
|
-
node: createLangConfig("example/Calculator.test.ts", [
|
|
32
|
-
(x) => `yarn eslint }`,
|
|
33
|
-
(x) => `yarn tsc --noEmit }`,
|
|
34
|
-
], `node.Dockerfile`, { volumes: ['eslint.config.mjs'] }),
|
|
35
|
-
check: ""
|
|
36
|
-
};
|
|
37
|
-
export default config;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IConfig } from "../../../Types";
|
|
2
|
-
export declare const nodeDockerComposeFile: (config: IConfig, container_name: string, fpath: string) => {
|
|
3
|
-
build: {
|
|
4
|
-
context: string;
|
|
5
|
-
dockerfile: any;
|
|
6
|
-
};
|
|
7
|
-
container_name: string;
|
|
8
|
-
environment: any;
|
|
9
|
-
working_dir: string;
|
|
10
|
-
volumes: string[];
|
|
11
|
-
command: string;
|
|
12
|
-
};
|
|
13
|
-
export declare const nodeBuildCommand: (fpath: string) => string;
|
|
14
|
-
export declare const nodeBddCommand: (fpath: string) => string;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|