René's URL Explorer Experiment


Title: Fix unit test runner on Windows by rosen-vladimirov · Pull Request #1207 · NativeScript/nativescript-cli · GitHub

Open Graph Title: Fix unit test runner on Windows by rosen-vladimirov · Pull Request #1207 · NativeScript/nativescript-cli

X Title: Fix unit test runner on Windows by rosen-vladimirov · Pull Request #1207 · NativeScript/nativescript-cli

Description: Use fork instead of spawn for startTestRunner In karma-nativescript-launcher we call startTestRunner through spawn. Communication between karma launcher and tns is through stdin. This is causing exception in buildMetadata step when gradle wrapper is used. For some reason it throws error in java code. So, replace the spawn with fork in the launcher. Modify startTestRunner to wait for message from parent process and send "ready" state to the parent. After that the parent (karma-nativescript-launcher) sends configuration data and the startTestRunner will execute the actions. Fixes #1199 Add help for dev-test-* commands As the current workflow of unit-testing is: user calls tns test android CLI starts a new process in which tns dev-test android is called In case the dev-test command fails, the error is caught in the child process and command help is printed on the terminal directly in it. User receives message: Unable to find command dev-test|android (from the child process) as we do not have help for this commands. Copy-paste the help fo test-android and test-ios commands and change the filenames so when the child process fails, it will print correct help. Parent process will not fail as the error is caught inside the child, so there's no way to print the help twice. Update common-lib to search dev-commands as well when searching for help pages. Make sure all dependencies are installed before starting karma In case node_modules dir is deleted, tns test command will fail. So ensure all dependencies are installed before starting karma server. Should be merged after: telerik/mobile-cli-lib#529 - fix in common-lib NativeScript/karma-nativescript-launcher#21 - fix in karma launcher - publish new version before merging this PR

Open Graph Description: Use fork instead of spawn for startTestRunner In karma-nativescript-launcher we call startTestRunner through spawn. Communication between karma launcher and tns is through stdin. This is causing ex...

X Description: Use fork instead of spawn for startTestRunner In karma-nativescript-launcher we call startTestRunner through spawn. Communication between karma launcher and tns is through stdin. This is causing ex...

Opengraph URL: https://github.com/NativeScript/nativescript-cli/pull/1207

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b618be0b-7957-84b8-2c67-4651d24e9741
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC7B8:14ECB:33B7DA3:41CE64F:6B01DB9E
html-safe-nonce59492d90255e0a28741b140083908cf2f49c677c9f5441c994e21cbb2cc9f099
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0I4OjE0RUNCOjMzQjdEQTM6NDFDRTY0Rjo2QjAxREI5RSIsInZpc2l0b3JfaWQiOiI1OTI2NTQ1Mzg0MDc0NzYzMTY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacafdb398615b883ab1e5ddc315e399f054922e3062e39469fb31ca07dae7f6246
hovercard-subject-tagpull_request:51012348
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/NativeScript/nativescript-cli/pull/1207/files
twitter:imagehttps://avatars.githubusercontent.com/u/8351653?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/8351653?s=400&v=4
og:image:altUse fork instead of spawn for startTestRunner In karma-nativescript-launcher we call startTestRunner through spawn. Communication between karma launcher and tns is through stdin. This is causing ex...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id21347346
octolytics-dimension-repository_nwoNativeScript/nativescript-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21347346
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-cli/pull/1207/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F1207%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F1207%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NativeScript%2Fnativescript-cli
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/1207/files
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/1207/files
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/1207/files
NativeScripthttps://github.com/NativeScript
nativescript-clihttps://github.com/NativeScript/nativescript-cli
Codehttps://github.com/NativeScript/nativescript-cli
Issues357 (357)https://github.com/NativeScript/nativescript-cli/issues
Pull requests38 (38)https://github.com/NativeScript/nativescript-cli/pulls
Actionshttps://github.com/NativeScript/nativescript-cli/actions
Projectshttps://github.com/NativeScript/nativescript-cli/projects
Security and qualityhttps://github.com/NativeScript/nativescript-cli/security
Insightshttps://github.com/NativeScript/nativescript-cli/insights
Sign up for GitHub https://github.com/signup?return_to=%2FNativeScript%2Fnativescript-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FNativeScript%2Fnativescript-cli%2Fissues%2Fnew%2Fchoose
rosen-vladimirovhttps://github.com/rosen-vladimirov
releasehttps://github.com/NativeScript/nativescript-cli/tree/release
vladimirov/fix-unit-test-runnerhttps://github.com/NativeScript/nativescript-cli/tree/vladimirov/fix-unit-test-runner
Conversation 5 https://github.com/NativeScript/nativescript-cli/pull/1207
Commits 3 https://github.com/NativeScript/nativescript-cli/pull/1207/commits
Checks 0 https://github.com/NativeScript/nativescript-cli/pull/1207/checks
Files changed https://github.com/NativeScript/nativescript-cli/pull/1207/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/1207/files
Fix unit test runner on Windows https://github.com/NativeScript/nativescript-cli/pull/1207/files#top
Show all changes 3 commits https://github.com/NativeScript/nativescript-cli/pull/1207/files
ec1b2c6 Use fork instead of spawn for startTestRunner rosen-vladimirov Nov 17, 2015 https://github.com/NativeScript/nativescript-cli/pull/1207/commits/ec1b2c672f3f8163f64aca0e3f65d050c686dfbb
720477a Add help for dev-test-* commands rosen-vladimirov Nov 17, 2015 https://github.com/NativeScript/nativescript-cli/pull/1207/commits/720477af04a89dcc55a8feaf16a78e85c3b6fd99
6925a14 Make sure all dependencies are installed before starting karma rosen-vladimirov Nov 18, 2015 https://github.com/NativeScript/nativescript-cli/pull/1207/commits/6925a14670935fa71bf3544bab63ad68f5fd0b1a
Clear filters https://github.com/NativeScript/nativescript-cli/pull/1207/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/1207/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/1207/files
dev-test-android.md https://github.com/NativeScript/nativescript-cli/pull/1207/files#diff-181798c874338dcab840d2fa9d507a0dc313a84a75498d6508e538bdc8a05a1a
dev-test-ios.md https://github.com/NativeScript/nativescript-cli/pull/1207/files#diff-971a795c52fa4038cbed9c1ae8c8513b0b9d6d46fa9d481fece3b188c522d974
common https://github.com/NativeScript/nativescript-cli/pull/1207/files#diff-3d47a30a80ed97a9879c39c7aa0f13fd8840649148364e47f61d77844ed101bb
test-execution-service.ts https://github.com/NativeScript/nativescript-cli/pull/1207/files#diff-62ec58df046f2cefa83be8d0793b1a618d11270eed6b45a6538577d319cd2ba4
docs/man_pages/project/testing/dev-test-android.mdhttps://github.com/NativeScript/nativescript-cli/pull/1207/files#diff-181798c874338dcab840d2fa9d507a0dc313a84a75498d6508e538bdc8a05a1a
View file https://github.com/NativeScript/nativescript-cli/blob/6925a14670935fa71bf3544bab63ad68f5fd0b1a/docs/man_pages/project/testing/dev-test-android.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/1207/{{ revealButtonHref }}
docs/man_pages/project/testing/dev-test-ios.mdhttps://github.com/NativeScript/nativescript-cli/pull/1207/files#diff-971a795c52fa4038cbed9c1ae8c8513b0b9d6d46fa9d481fece3b188c522d974
View file https://github.com/NativeScript/nativescript-cli/blob/6925a14670935fa71bf3544bab63ad68f5fd0b1a/docs/man_pages/project/testing/dev-test-ios.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/1207/{{ revealButtonHref }}
lib/commonhttps://github.com/NativeScript/nativescript-cli/pull/1207/files#diff-3d47a30a80ed97a9879c39c7aa0f13fd8840649148364e47f61d77844ed101bb
Open in desktop https://desktop.github.com
commonhttps://github.com/telerik/mobile-cli-lib
1 files https://github.com/telerik/mobile-cli-lib/compare/ad92d5cca781e756b8cea6c8dfd8f38d0aee6f7c...2b343d331bbb7c0793f85ffa4bfdfb3c3923df9e
services/html-help-service.ts https://github.com/telerik/mobile-cli-lib/compare/ad92d5cca781e756b8cea6c8dfd8f38d0aee6f7c...2b343d331bbb7c0793f85ffa4bfdfb3c3923df9e#diff-b37da147a289e1e113964b057ff5282f87abee60a0120e6fee81768f6e498a84
lib/services/test-execution-service.tshttps://github.com/NativeScript/nativescript-cli/pull/1207/files#diff-62ec58df046f2cefa83be8d0793b1a618d11270eed6b45a6538577d319cd2ba4
View file https://github.com/NativeScript/nativescript-cli/blob/6925a14670935fa71bf3544bab63ad68f5fd0b1a/lib/services/test-execution-service.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/1207/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/1207/files#diff-62ec58df046f2cefa83be8d0793b1a618d11270eed6b45a6538577d319cd2ba4
https://github.com/NativeScript/nativescript-cli/pull/1207/files#diff-62ec58df046f2cefa83be8d0793b1a618d11270eed6b45a6538577d319cd2ba4
teobugslayerhttps://github.com/teobugslayer
Nov 18, 2015https://github.com/NativeScript/nativescript-cli/pull/1207/files#r45174488
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/1207/files
https://github.com/NativeScript/nativescript-cli/pull/1207/files#diff-62ec58df046f2cefa83be8d0793b1a618d11270eed6b45a6538577d319cd2ba4
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.