[Feat]: launch.json for debugging appium and its unit test from source
See original GitHub issueI am trying to understand what’s going on in the Appium source code. And it’s really tough without debugging tool.
Maybe we can add one more configuration to launch.json
for both debugging appium and its test
- So far I got one for debug appium.
{
"type": "node",
"request": "launch",
"name": "launch appium",
"skipFiles": ["<node_internals>/**"],
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/packages/appium/index.js",
"internalConsoleOptions": "openOnSessionStart",
},
this one is working
- For the unit test, I tried this config
{
"type": "node",
"request": "launch",
"name": "Mocha Tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"--no-timeouts",
"--require",
"ts-node/register",
"${workspaceFolder}/packages/appium/test/unit/extension/*.spec.js"
],
}
It doesn’t work yet.
Issue Analytics
- State:
- Created 9 months ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Running Appium from Source
An Appium setup involves the Appium server, which sends messages back and forth between your test code and devices/emulators, and a test script,...
Read more >appium - Bountysource
Any project using the official UI would be able to test with appium. ... add one more configuration to launch.json for both debugging...
Read more >Using Visual Studio Code to debug Jest based unit tests
Step 2 Configuring jest test debugging single run. Let's replace the default config file created by VS Code and place the following one:...
Read more >Web Test Tools - SoftwareQATest.com
GoReplay - Open source performance testing tool for traffic ... Fiddler add-on to combine performance testing and debugging in one solution.
Read more >100+ Best Software Testing Tools Reviewed (Research Done ...
Check out Tricentis' review of the best 100+ software testing tools ... open source technologies like Selenium, Appium and JS Unit Testing.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m using VSCode, but I only use its debugger on E2E tests, and I don’t think I’ve had occasion to do that yet, so I overlooked it. For unit tests I use Wallaby
could you please update this config according to the recent project state when you have time? which IDE do you use for debugging btw?