@ihyeon/error-to-test 0.1.3 → 0.1.4
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.ko.md +2 -0
- package/README.md +3 -1
- package/package.json +2 -2
package/README.ko.md
CHANGED
|
@@ -14,6 +14,8 @@ JavaScript API는 `npm install @ihyeon/error-to-test`로 설치합니다. [배
|
|
|
14
14
|
|
|
15
15
|
Node.js 24.8 이상이 필요합니다. 현재 폴더에서 `npm ci`, `npm run check`를 실행한 뒤 사용하세요.
|
|
16
16
|
|
|
17
|
+
샘플은 `npm run demo`로 실행합니다. 매번 새 `.error-to-test/run-*` 폴더에 결과를 저장하고 보고서 경로를 출력합니다.
|
|
18
|
+
|
|
17
19
|
```sh
|
|
18
20
|
# SDK 없이 오류 하나를 직접 입력
|
|
19
21
|
node bin/error-to-test.mjs analyze --error "TypeError: item is undefined" --page /items --runtime browser --reproduce "View item 버튼 클릭" --expected "빈 상태 안내 표시" --expected-source "사용자가 설명한 기대 동작" --out .error-to-test/pasted
|
package/README.md
CHANGED
|
@@ -24,9 +24,11 @@ Requires Node.js 24.8+. From this directory:
|
|
|
24
24
|
npm ci
|
|
25
25
|
npm run check
|
|
26
26
|
node bin/error-to-test.mjs --help
|
|
27
|
-
|
|
27
|
+
npm run demo
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
+
Each demo run saves its results in a new `.error-to-test/run-*` directory and prints the report path.
|
|
31
|
+
|
|
30
32
|
Every output directory must be new. The command never overwrites an existing analysis.
|
|
31
33
|
|
|
32
34
|
## Submit an error without an SDK
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ihyeon/error-to-test",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Turn captured browser errors and pasted error reports into traceable regression test candidates.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Hyeonse Im",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"prepack": "npm run build",
|
|
55
55
|
"check:package": "npm run build && node scripts/package-smoke.mjs",
|
|
56
56
|
"smoke:flowqa": "node scripts/flowqa-smoke.ts",
|
|
57
|
-
"demo": "node bin/
|
|
57
|
+
"demo": "node bin/error-to-test.mjs analyze --input examples/errors.json --profile examples/profile.json"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/node": "^24.0.0",
|