@sun-asterisk/sungen 1.0.0 → 1.0.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 +4 -10
- package/dist/input/cli-adapter.js +1 -1
- package/package.json +1 -1
- package/src/input/cli-adapter.ts +1 -1
package/README.md
CHANGED
|
@@ -26,13 +26,13 @@ Sungen is a **deterministic-first** E2E test automation framework that generates
|
|
|
26
26
|
### Installation
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
npm install -g @sungen
|
|
29
|
+
npm install -g @sun-asterisk/sungen
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
Or use locally in your project:
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
|
-
npm install --save-dev @sungen
|
|
35
|
+
npm install --save-dev @sun-asterisk/sungen
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
### Setup
|
|
@@ -51,13 +51,7 @@ This creates:
|
|
|
51
51
|
|
|
52
52
|
**Note:** Use `sungen add --screen <name>` to create screen definitions with proper structure.
|
|
53
53
|
|
|
54
|
-
2.
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
export ANTHROPIC_API_KEY=your_api_key_here
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
3. Create your first screen definition:
|
|
54
|
+
2. Create your first screen definition:
|
|
61
55
|
|
|
62
56
|
```bash
|
|
63
57
|
sungen add --screen login --path /auth/login
|
|
@@ -68,7 +62,7 @@ This creates a screen definition with:
|
|
|
68
62
|
- `qa/screens/login/selectors/login.yaml` - Element selectors
|
|
69
63
|
- `qa/screens/login/test-data/login.yaml` - Test data variables
|
|
70
64
|
|
|
71
|
-
|
|
65
|
+
3. Edit the generated feature file and run the pipeline:
|
|
72
66
|
|
|
73
67
|
### Usage
|
|
74
68
|
|
|
@@ -34,7 +34,7 @@ class CLIAdapter {
|
|
|
34
34
|
program
|
|
35
35
|
.name('sungen')
|
|
36
36
|
.description('AI-Native E2E Test Generator - Generate Playwright tests from Gherkin features')
|
|
37
|
-
.version('
|
|
37
|
+
.version('1.0.1');
|
|
38
38
|
// Global options
|
|
39
39
|
program
|
|
40
40
|
.option('-c, --config <path>', 'Path to custom config file')
|
package/package.json
CHANGED
package/src/input/cli-adapter.ts
CHANGED