@nestia/e2e 7.3.1 → 7.3.3
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/lib/DynamicExecutor.d.ts +28 -50
- package/lib/DynamicExecutor.js +10 -7
- package/lib/DynamicExecutor.js.map +1 -1
- package/package.json +3 -3
- package/src/DynamicExecutor.ts +28 -50
package/lib/DynamicExecutor.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Dynamic Executor running prefixed functions.
|
|
3
3
|
*
|
|
4
|
-
* `DynamicExecutor` runs every (or some filtered) prefixed functions
|
|
5
|
-
*
|
|
4
|
+
* `DynamicExecutor` runs every (or some filtered) prefixed functions in a
|
|
5
|
+
* specific directory.
|
|
6
6
|
*
|
|
7
7
|
* For reference, it's useful for test program development of a backend server.
|
|
8
8
|
* Just write test functions under a directory, and just specify it.
|
|
@@ -12,9 +12,12 @@
|
|
|
12
12
|
*
|
|
13
13
|
* When you want to see some utilization cases, see the below example links.
|
|
14
14
|
*
|
|
15
|
-
* @example https://github.com/samchon/nestia-start/blob/master/test/index.ts
|
|
16
|
-
* @example https://github.com/samchon/backend/blob/master/test/index.ts
|
|
17
15
|
* @author Jeongho Nam - https://github.com/samchon
|
|
16
|
+
* @example
|
|
17
|
+
* https://github.com/samchon/nestia-start/blob/master/test/index.ts
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* https://github.com/samchon/backend/blob/master/test/index.ts
|
|
18
21
|
*/
|
|
19
22
|
export declare namespace DynamicExecutor {
|
|
20
23
|
/**
|
|
@@ -26,21 +29,18 @@ export declare namespace DynamicExecutor {
|
|
|
26
29
|
interface Closure<Arguments extends any[], Ret = any> {
|
|
27
30
|
(...args: Arguments): Promise<Ret>;
|
|
28
31
|
}
|
|
29
|
-
/**
|
|
30
|
-
* Options for dynamic executor.
|
|
31
|
-
*/
|
|
32
|
+
/** Options for dynamic executor. */
|
|
32
33
|
interface IProps<Parameters extends any[], Ret = any> {
|
|
33
34
|
/**
|
|
34
35
|
* Prefix of function name.
|
|
35
36
|
*
|
|
36
37
|
* Every prefixed function will be executed.
|
|
37
38
|
*
|
|
38
|
-
* In other words, if a function name doesn't start with the prefix, then it
|
|
39
|
+
* In other words, if a function name doesn't start with the prefix, then it
|
|
40
|
+
* would never be executed.
|
|
39
41
|
*/
|
|
40
42
|
prefix: string;
|
|
41
|
-
/**
|
|
42
|
-
* Location of the test functions.
|
|
43
|
-
*/
|
|
43
|
+
/** Location of the test functions. */
|
|
44
44
|
location: string;
|
|
45
45
|
/**
|
|
46
46
|
* Get parameters of a function.
|
|
@@ -67,9 +67,9 @@ export declare namespace DynamicExecutor {
|
|
|
67
67
|
/**
|
|
68
68
|
* Wrapper of test function.
|
|
69
69
|
*
|
|
70
|
-
* If you specify this `wrapper` property,
|
|
71
|
-
*
|
|
72
|
-
*
|
|
70
|
+
* If you specify this `wrapper` property, every dynamic functions loaded
|
|
71
|
+
* and called by this `DynamicExecutor` would be wrapped by the `wrapper`
|
|
72
|
+
* function.
|
|
73
73
|
*
|
|
74
74
|
* @param name Function name
|
|
75
75
|
* @param closure Function to be executed
|
|
@@ -95,58 +95,36 @@ export declare namespace DynamicExecutor {
|
|
|
95
95
|
*/
|
|
96
96
|
extension?: string;
|
|
97
97
|
}
|
|
98
|
-
/**
|
|
99
|
-
* Report, result of dynamic execution.
|
|
100
|
-
*/
|
|
98
|
+
/** Report, result of dynamic execution. */
|
|
101
99
|
interface IReport {
|
|
102
|
-
/**
|
|
103
|
-
* Location path of dynamic functions.
|
|
104
|
-
*/
|
|
100
|
+
/** Location path of dynamic functions. */
|
|
105
101
|
location: string;
|
|
106
|
-
/**
|
|
107
|
-
* Execution results of dynamic functions.
|
|
108
|
-
*/
|
|
102
|
+
/** Execution results of dynamic functions. */
|
|
109
103
|
executions: IExecution[];
|
|
110
|
-
/**
|
|
111
|
-
* Total elapsed time.
|
|
112
|
-
*/
|
|
104
|
+
/** Total elapsed time. */
|
|
113
105
|
time: number;
|
|
114
106
|
}
|
|
115
|
-
/**
|
|
116
|
-
* Execution of a test function.
|
|
117
|
-
*/
|
|
107
|
+
/** Execution of a test function. */
|
|
118
108
|
interface IExecution {
|
|
119
|
-
/**
|
|
120
|
-
* Name of function.
|
|
121
|
-
*/
|
|
109
|
+
/** Name of function. */
|
|
122
110
|
name: string;
|
|
123
|
-
/**
|
|
124
|
-
* Location path of the function.
|
|
125
|
-
*/
|
|
111
|
+
/** Location path of the function. */
|
|
126
112
|
location: string;
|
|
127
|
-
/**
|
|
128
|
-
* Returned value from the function.
|
|
129
|
-
*/
|
|
113
|
+
/** Returned value from the function. */
|
|
130
114
|
value: unknown;
|
|
131
|
-
/**
|
|
132
|
-
* Error when occurred.
|
|
133
|
-
*/
|
|
115
|
+
/** Error when occurred. */
|
|
134
116
|
error: Error | null;
|
|
135
|
-
/**
|
|
136
|
-
* Elapsed time.
|
|
137
|
-
*/
|
|
117
|
+
/** Elapsed time. */
|
|
138
118
|
started_at: string;
|
|
139
|
-
/**
|
|
140
|
-
* Completion time.
|
|
141
|
-
*/
|
|
119
|
+
/** Completion time. */
|
|
142
120
|
completed_at: string;
|
|
143
121
|
}
|
|
144
122
|
/**
|
|
145
123
|
* Prepare dynamic executor in strict mode.
|
|
146
124
|
*
|
|
147
|
-
* In strict mode, if any error occurs, the program will be terminated
|
|
148
|
-
* Otherwise, {@link validate} mode does not terminate when error
|
|
149
|
-
* just archive the error log.
|
|
125
|
+
* In strict mode, if any error occurs, the program will be terminated
|
|
126
|
+
* directly. Otherwise, {@link validate} mode does not terminate when error
|
|
127
|
+
* occurs, but just archive the error log.
|
|
150
128
|
*
|
|
151
129
|
* @param props Properties of dynamic execution
|
|
152
130
|
* @returns Report of dynamic test functions execution
|
package/lib/DynamicExecutor.js
CHANGED
|
@@ -114,8 +114,8 @@ var path_1 = __importDefault(require("path"));
|
|
|
114
114
|
/**
|
|
115
115
|
* Dynamic Executor running prefixed functions.
|
|
116
116
|
*
|
|
117
|
-
* `DynamicExecutor` runs every (or some filtered) prefixed functions
|
|
118
|
-
*
|
|
117
|
+
* `DynamicExecutor` runs every (or some filtered) prefixed functions in a
|
|
118
|
+
* specific directory.
|
|
119
119
|
*
|
|
120
120
|
* For reference, it's useful for test program development of a backend server.
|
|
121
121
|
* Just write test functions under a directory, and just specify it.
|
|
@@ -125,9 +125,12 @@ var path_1 = __importDefault(require("path"));
|
|
|
125
125
|
*
|
|
126
126
|
* When you want to see some utilization cases, see the below example links.
|
|
127
127
|
*
|
|
128
|
-
* @example https://github.com/samchon/nestia-start/blob/master/test/index.ts
|
|
129
|
-
* @example https://github.com/samchon/backend/blob/master/test/index.ts
|
|
130
128
|
* @author Jeongho Nam - https://github.com/samchon
|
|
129
|
+
* @example
|
|
130
|
+
* https://github.com/samchon/nestia-start/blob/master/test/index.ts
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* https://github.com/samchon/backend/blob/master/test/index.ts
|
|
131
134
|
*/
|
|
132
135
|
var DynamicExecutor;
|
|
133
136
|
(function (DynamicExecutor) {
|
|
@@ -135,9 +138,9 @@ var DynamicExecutor;
|
|
|
135
138
|
/**
|
|
136
139
|
* Prepare dynamic executor in strict mode.
|
|
137
140
|
*
|
|
138
|
-
* In strict mode, if any error occurs, the program will be terminated
|
|
139
|
-
* Otherwise, {@link validate} mode does not terminate when error
|
|
140
|
-
* just archive the error log.
|
|
141
|
+
* In strict mode, if any error occurs, the program will be terminated
|
|
142
|
+
* directly. Otherwise, {@link validate} mode does not terminate when error
|
|
143
|
+
* occurs, but just archive the error log.
|
|
141
144
|
*
|
|
142
145
|
* @param props Properties of dynamic execution
|
|
143
146
|
* @returns Report of dynamic test functions execution
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicExecutor.js","sourceRoot":"","sources":["../src/DynamicExecutor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;;;;gDAG7B,KAAA,MAAM,CAAA;gDAAS,qBAAM,IAAI,EAAE,EAAA;;gDAA3B,GAAO,KAAK,GAAG,SAAY,CAAC;gDAC5B,MAAM,CAAC,YAAY,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;;;;gDAE/C,MAAM,CAAC,KAAK,GAAG,KAAY,CAAC;gDAC5B,IAAI,MAAM,KAAK,IAAI;oDAAE,MAAM,KAAG,CAAC;;;gDAE/B,MAAM,CAAC,YAAY,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;gDAC/C,IAAI,KAAK,CAAC,UAAU;oDAAE,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;;;;;;;;;gCAhCtB,KAAA,SAAA,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;;;;gCAAxC,KAAA,mBAAc,EAAb,GAAG,QAAA,EAAE,OAAO,QAAA;8DAAZ,GAAG,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;qBAmCzB;YApCD,CAoCC;QArCD,CAqCC;IAtCD,CAsCC,CAAC;AAKN,CAAC,EAzPgB,eAAe,+BAAf,eAAe,QAyP/B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestia/e2e",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.3",
|
|
4
4
|
"description": "E2E test utilify functions",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"rimraf": "^6.0.1",
|
|
40
40
|
"ts-node": "^10.9.1",
|
|
41
41
|
"ts-patch": "^3.3.0",
|
|
42
|
-
"typescript": "~5.
|
|
42
|
+
"typescript": "~5.9.2",
|
|
43
43
|
"typescript-transform-paths": "^3.4.7",
|
|
44
|
-
"typia": "^9.
|
|
44
|
+
"typia": "^9.6.1"
|
|
45
45
|
},
|
|
46
46
|
"files": [
|
|
47
47
|
"lib",
|
package/src/DynamicExecutor.ts
CHANGED
|
@@ -4,8 +4,8 @@ import NodePath from "path";
|
|
|
4
4
|
/**
|
|
5
5
|
* Dynamic Executor running prefixed functions.
|
|
6
6
|
*
|
|
7
|
-
* `DynamicExecutor` runs every (or some filtered) prefixed functions
|
|
8
|
-
*
|
|
7
|
+
* `DynamicExecutor` runs every (or some filtered) prefixed functions in a
|
|
8
|
+
* specific directory.
|
|
9
9
|
*
|
|
10
10
|
* For reference, it's useful for test program development of a backend server.
|
|
11
11
|
* Just write test functions under a directory, and just specify it.
|
|
@@ -15,9 +15,12 @@ import NodePath from "path";
|
|
|
15
15
|
*
|
|
16
16
|
* When you want to see some utilization cases, see the below example links.
|
|
17
17
|
*
|
|
18
|
-
* @example https://github.com/samchon/nestia-start/blob/master/test/index.ts
|
|
19
|
-
* @example https://github.com/samchon/backend/blob/master/test/index.ts
|
|
20
18
|
* @author Jeongho Nam - https://github.com/samchon
|
|
19
|
+
* @example
|
|
20
|
+
* https://github.com/samchon/nestia-start/blob/master/test/index.ts
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* https://github.com/samchon/backend/blob/master/test/index.ts
|
|
21
24
|
*/
|
|
22
25
|
export namespace DynamicExecutor {
|
|
23
26
|
/**
|
|
@@ -30,22 +33,19 @@ export namespace DynamicExecutor {
|
|
|
30
33
|
(...args: Arguments): Promise<Ret>;
|
|
31
34
|
}
|
|
32
35
|
|
|
33
|
-
/**
|
|
34
|
-
* Options for dynamic executor.
|
|
35
|
-
*/
|
|
36
|
+
/** Options for dynamic executor. */
|
|
36
37
|
export interface IProps<Parameters extends any[], Ret = any> {
|
|
37
38
|
/**
|
|
38
39
|
* Prefix of function name.
|
|
39
40
|
*
|
|
40
41
|
* Every prefixed function will be executed.
|
|
41
42
|
*
|
|
42
|
-
* In other words, if a function name doesn't start with the prefix, then it
|
|
43
|
+
* In other words, if a function name doesn't start with the prefix, then it
|
|
44
|
+
* would never be executed.
|
|
43
45
|
*/
|
|
44
46
|
prefix: string;
|
|
45
47
|
|
|
46
|
-
/**
|
|
47
|
-
* Location of the test functions.
|
|
48
|
-
*/
|
|
48
|
+
/** Location of the test functions. */
|
|
49
49
|
location: string;
|
|
50
50
|
|
|
51
51
|
/**
|
|
@@ -76,9 +76,9 @@ export namespace DynamicExecutor {
|
|
|
76
76
|
/**
|
|
77
77
|
* Wrapper of test function.
|
|
78
78
|
*
|
|
79
|
-
* If you specify this `wrapper` property,
|
|
80
|
-
*
|
|
81
|
-
*
|
|
79
|
+
* If you specify this `wrapper` property, every dynamic functions loaded
|
|
80
|
+
* and called by this `DynamicExecutor` would be wrapped by the `wrapper`
|
|
81
|
+
* function.
|
|
82
82
|
*
|
|
83
83
|
* @param name Function name
|
|
84
84
|
* @param closure Function to be executed
|
|
@@ -111,67 +111,45 @@ export namespace DynamicExecutor {
|
|
|
111
111
|
extension?: string;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
/**
|
|
115
|
-
* Report, result of dynamic execution.
|
|
116
|
-
*/
|
|
114
|
+
/** Report, result of dynamic execution. */
|
|
117
115
|
export interface IReport {
|
|
118
|
-
/**
|
|
119
|
-
* Location path of dynamic functions.
|
|
120
|
-
*/
|
|
116
|
+
/** Location path of dynamic functions. */
|
|
121
117
|
location: string;
|
|
122
118
|
|
|
123
|
-
/**
|
|
124
|
-
* Execution results of dynamic functions.
|
|
125
|
-
*/
|
|
119
|
+
/** Execution results of dynamic functions. */
|
|
126
120
|
executions: IExecution[];
|
|
127
121
|
|
|
128
|
-
/**
|
|
129
|
-
* Total elapsed time.
|
|
130
|
-
*/
|
|
122
|
+
/** Total elapsed time. */
|
|
131
123
|
time: number;
|
|
132
124
|
}
|
|
133
125
|
|
|
134
|
-
/**
|
|
135
|
-
* Execution of a test function.
|
|
136
|
-
*/
|
|
126
|
+
/** Execution of a test function. */
|
|
137
127
|
export interface IExecution {
|
|
138
|
-
/**
|
|
139
|
-
* Name of function.
|
|
140
|
-
*/
|
|
128
|
+
/** Name of function. */
|
|
141
129
|
name: string;
|
|
142
130
|
|
|
143
|
-
/**
|
|
144
|
-
* Location path of the function.
|
|
145
|
-
*/
|
|
131
|
+
/** Location path of the function. */
|
|
146
132
|
location: string;
|
|
147
133
|
|
|
148
|
-
/**
|
|
149
|
-
* Returned value from the function.
|
|
150
|
-
*/
|
|
134
|
+
/** Returned value from the function. */
|
|
151
135
|
value: unknown;
|
|
152
136
|
|
|
153
|
-
/**
|
|
154
|
-
* Error when occurred.
|
|
155
|
-
*/
|
|
137
|
+
/** Error when occurred. */
|
|
156
138
|
error: Error | null;
|
|
157
139
|
|
|
158
|
-
/**
|
|
159
|
-
* Elapsed time.
|
|
160
|
-
*/
|
|
140
|
+
/** Elapsed time. */
|
|
161
141
|
started_at: string;
|
|
162
142
|
|
|
163
|
-
/**
|
|
164
|
-
* Completion time.
|
|
165
|
-
*/
|
|
143
|
+
/** Completion time. */
|
|
166
144
|
completed_at: string;
|
|
167
145
|
}
|
|
168
146
|
|
|
169
147
|
/**
|
|
170
148
|
* Prepare dynamic executor in strict mode.
|
|
171
149
|
*
|
|
172
|
-
* In strict mode, if any error occurs, the program will be terminated
|
|
173
|
-
* Otherwise, {@link validate} mode does not terminate when error
|
|
174
|
-
* just archive the error log.
|
|
150
|
+
* In strict mode, if any error occurs, the program will be terminated
|
|
151
|
+
* directly. Otherwise, {@link validate} mode does not terminate when error
|
|
152
|
+
* occurs, but just archive the error log.
|
|
175
153
|
*
|
|
176
154
|
* @param props Properties of dynamic execution
|
|
177
155
|
* @returns Report of dynamic test functions execution
|