@esimplicity/stack-tests 0.1.0
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/LICENSE +7 -0
- package/README.md +77 -0
- package/dist/chunk-YPUQQZM2.js +827 -0
- package/dist/index.d.ts +540 -0
- package/dist/index.js +881 -0
- package/dist/steps/index.d.ts +58 -0
- package/dist/steps/index.js +34 -0
- package/package.json +65 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
declare function registerApiHttpSteps(test: any): void;
|
|
2
|
+
|
|
3
|
+
declare function registerApiAssertionSteps(test: any): void;
|
|
4
|
+
|
|
5
|
+
declare function registerApiAuthSteps(test: any): void;
|
|
6
|
+
|
|
7
|
+
declare function registerHybridSteps(test: any): void;
|
|
8
|
+
|
|
9
|
+
declare function registerSharedCleanupSteps(test: any): void;
|
|
10
|
+
|
|
11
|
+
declare function registerSharedVarSteps(test: any): void;
|
|
12
|
+
|
|
13
|
+
declare function registerUiBasicSteps(test: any): void;
|
|
14
|
+
|
|
15
|
+
declare function registerWizardSteps(test: any): void;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* TUI Basic Step Definitions
|
|
19
|
+
*
|
|
20
|
+
* Basic step definitions for terminal user interface testing.
|
|
21
|
+
* Tagged with @tui for selective execution.
|
|
22
|
+
* Aligned with ui.basic.ts patterns for consistency.
|
|
23
|
+
*/
|
|
24
|
+
declare function registerTuiBasicSteps(test: any): void;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* TUI Wizard Step Definitions
|
|
28
|
+
*
|
|
29
|
+
* Advanced step definitions for terminal user interface testing.
|
|
30
|
+
* Tagged with @tui for selective execution.
|
|
31
|
+
* Aligned with ui.wizard.ts patterns for consistency.
|
|
32
|
+
*/
|
|
33
|
+
declare function registerTuiWizardSteps(test: any): void;
|
|
34
|
+
|
|
35
|
+
declare function registerApiSteps(test: any): void;
|
|
36
|
+
declare function registerUiSteps(test: any): void;
|
|
37
|
+
declare function registerSharedSteps(test: any): void;
|
|
38
|
+
declare function registerHybridSuite(test: any): void;
|
|
39
|
+
/**
|
|
40
|
+
* Register all TUI (Terminal User Interface) step definitions.
|
|
41
|
+
* Steps are tagged with @tui for selective execution.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import { createBddTest, registerTuiSteps, TuiTesterAdapter } from '@kata/stack-tests';
|
|
46
|
+
*
|
|
47
|
+
* const test = createBddTest({
|
|
48
|
+
* createTui: () => new TuiTesterAdapter({
|
|
49
|
+
* command: ['node', 'dist/cli.js'],
|
|
50
|
+
* }),
|
|
51
|
+
* });
|
|
52
|
+
*
|
|
53
|
+
* registerTuiSteps(test);
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
declare function registerTuiSteps(test: any): void;
|
|
57
|
+
|
|
58
|
+
export { registerApiAssertionSteps, registerApiAuthSteps, registerApiHttpSteps, registerApiSteps, registerHybridSteps, registerHybridSuite, registerSharedCleanupSteps, registerSharedSteps, registerSharedVarSteps, registerTuiBasicSteps, registerTuiSteps, registerTuiWizardSteps, registerUiBasicSteps, registerUiSteps, registerWizardSteps };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import {
|
|
2
|
+
registerApiAssertionSteps,
|
|
3
|
+
registerApiAuthSteps,
|
|
4
|
+
registerApiHttpSteps,
|
|
5
|
+
registerApiSteps,
|
|
6
|
+
registerHybridSteps,
|
|
7
|
+
registerHybridSuite,
|
|
8
|
+
registerSharedCleanupSteps,
|
|
9
|
+
registerSharedSteps,
|
|
10
|
+
registerSharedVarSteps,
|
|
11
|
+
registerTuiBasicSteps,
|
|
12
|
+
registerTuiSteps,
|
|
13
|
+
registerTuiWizardSteps,
|
|
14
|
+
registerUiBasicSteps,
|
|
15
|
+
registerUiSteps,
|
|
16
|
+
registerWizardSteps
|
|
17
|
+
} from "../chunk-YPUQQZM2.js";
|
|
18
|
+
export {
|
|
19
|
+
registerApiAssertionSteps,
|
|
20
|
+
registerApiAuthSteps,
|
|
21
|
+
registerApiHttpSteps,
|
|
22
|
+
registerApiSteps,
|
|
23
|
+
registerHybridSteps,
|
|
24
|
+
registerHybridSuite,
|
|
25
|
+
registerSharedCleanupSteps,
|
|
26
|
+
registerSharedSteps,
|
|
27
|
+
registerSharedVarSteps,
|
|
28
|
+
registerTuiBasicSteps,
|
|
29
|
+
registerTuiSteps,
|
|
30
|
+
registerTuiWizardSteps,
|
|
31
|
+
registerUiBasicSteps,
|
|
32
|
+
registerUiSteps,
|
|
33
|
+
registerWizardSteps
|
|
34
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@esimplicity/stack-tests",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts"
|
|
11
|
+
},
|
|
12
|
+
"./steps": {
|
|
13
|
+
"import": "./dist/steps/index.js",
|
|
14
|
+
"types": "./dist/steps/index.d.ts"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"description": "Reusable Playwright-BDD fixtures, ports, adapters, and step registrations for API/UI/hybrid/TUI testing.",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/esimplicityinc/katalyst-bdd-test"
|
|
21
|
+
},
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/esimplicityinc/katalyst-bdd-test/issues"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://github.com/esimplicityinc/katalyst-bdd-test",
|
|
26
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
27
|
+
"author": "Kata",
|
|
28
|
+
"keywords": [
|
|
29
|
+
"playwright",
|
|
30
|
+
"bdd",
|
|
31
|
+
"testing",
|
|
32
|
+
"cucumber",
|
|
33
|
+
"api",
|
|
34
|
+
"ui",
|
|
35
|
+
"hybrid",
|
|
36
|
+
"tui",
|
|
37
|
+
"terminal",
|
|
38
|
+
"cli"
|
|
39
|
+
],
|
|
40
|
+
"files": [
|
|
41
|
+
"dist"
|
|
42
|
+
],
|
|
43
|
+
"scripts": {
|
|
44
|
+
"build": "tsup",
|
|
45
|
+
"clean": "rm -rf dist"
|
|
46
|
+
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"@playwright/test": "^1.49.0",
|
|
49
|
+
"playwright-bdd": "^8.3.0",
|
|
50
|
+
"tui-tester": "^1.0.0",
|
|
51
|
+
"typescript": "^5.6.0"
|
|
52
|
+
},
|
|
53
|
+
"peerDependenciesMeta": {
|
|
54
|
+
"tui-tester": {
|
|
55
|
+
"optional": true
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@playwright/test": "^1.49.0",
|
|
60
|
+
"@types/node": "^22.10.0",
|
|
61
|
+
"playwright-bdd": "^8.3.0",
|
|
62
|
+
"tsup": "^8.3.0",
|
|
63
|
+
"typescript": "^5.6.3"
|
|
64
|
+
}
|
|
65
|
+
}
|