Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
dist/
lib/
node_modules/
package.json
package-lock.json
*.log
*.log.*
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Options:
--policy <policyName> policy name (default: "manu")
-t, --target [connectkey] hdc connectkey
-c, --coverage enable coverage (default: false)
--from-current-page start from the current foreground page of the simulator/device
--llm enable LLM-guided exploration (default: false)
--simk <number> set similarity threshold K for tarpit detection (default: 3)
--staticConfig <file> path to static analysis configuration file (required when policy=static_guided)
Expand All @@ -49,6 +50,7 @@ Options:
#### Note:
- ```--policy static_guided:``` Enable the static-analysis-guided exploration policy (requires ```--staticConfig``` to specify the static module configuration file).
-``` --llm:``` Enable the LLM-based enhanced exploration module; can be combined with static_guided policy for a hybrid strategy.
- ```--from-current-page:``` Start haptest from the simulator's current foreground page instead of forcing an initial stop/start flow.
- ```--simk:``` Set the UI similarity threshold for tarpit detection.

### 2. Using DevEco simulator to run HAP
Expand Down
7 changes: 4 additions & 3 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"GPT_CONFIG":{
"baseURL": "",
"apiKey": ""
"baseURL": "${YOUR_BASE_URL}",
"apiKey": "${YOUR_API_KEY}",
"siteURL": "https://github.com/SMAT-Lab/HapTest",
"appName": "HapTest"
}

}
Binary file added output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading