Skip to content

Launch for testing #144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rmaugusto opened this issue Jun 27, 2017 · 3 comments
Closed

Launch for testing #144

rmaugusto opened this issue Jun 27, 2017 · 3 comments
Assignees
Labels

Comments

@rmaugusto
Copy link

I think run tests with debug in vs code would make tests troubleshoting easier.

Maybe add parameter:
"request": "test"

It should replace debug to test in command line.

@endarova
Copy link

On very first run of app from Test iOS the command is not executed.

  1. tns create app1 --js
  2. tns test init
  3. Open the app in VSCode and run from Test on iOS
    VSCode hangs on: [NSDebugAdapter] Running tns command... and the command is not executed
    If you kill the debugger and run Test on iOS again the command is executed

@endarova
Copy link

Could not load source 'undefined': Could not retrieve content.. when exiting the test method

  1. tns create app1 --js
  2. tns test init
  3. Open app in VSCode, set breakpoint in tests/example.js file
  4. Run from Test on iOS or Android
  5. Breakpoint in test is hit. Step over until you exit the test method. You receive Could not load source 'undefined': Could not retrieve content.. message

@endarova
Copy link

#238

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants