René's URL Explorer Experiment


Title: feat: support vitest unit tests by NathanWalker · Pull Request #6123 · NativeScript/nativescript-cli · GitHub

Open Graph Title: feat: support vitest unit tests by NathanWalker · Pull Request #6123 · NativeScript/nativescript-cli

X Title: feat: support vitest unit tests by NathanWalker · Pull Request #6123 · NativeScript/nativescript-cli

Description: Support Vitest as first class default option on unit testing. Other options are still options as well on init. Companion for NativeScript/nativescript-unit-test-runner#80 Summary by CodeRabbit New Features Added Vitest support for project initialization and test execution. Enabled NativeScript unit and UI testing on Android, iOS, and visionOS devices. Added platform, device, and coverage options for Vitest runs. Added sample Vitest configurations and test templates. Added framework-specific dependency installation support. Documentation Documented Vitest as the recommended testing framework. Added visionOS testing commands and guidance. Marked Karma-based testing frameworks as deprecated. Bug Fixes Improved Android test connectivity through local WebSocket network configuration.

Open Graph Description: Support Vitest as first class default option on unit testing. Other options are still options as well on init. Companion for NativeScript/nativescript-unit-test-runner#80 Summary by CodeRabbit N...

X Description: Support Vitest as first class default option on unit testing. Other options are still options as well on init. Companion for NativeScript/nativescript-unit-test-runner#80 Summary by CodeRabbit N...

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

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:dc5b6cd8-0605-3f33-91fe-b321bcdfb78a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8736:21AC3F:325EF06:3FC5B5C:6B01B5E4
html-safe-noncebce88a087ac186fd29682abba25b11e2f573aa8d70012da25656a80224d2b3cd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzM2OjIxQUMzRjozMjVFRjA2OjNGQzVCNUM6NkIwMUI1RTQiLCJ2aXNpdG9yX2lkIjoiNDAwODg1NjUyNjY1ODg0NDEzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3229c9eebe1be681aaf1e58efd769aeb67e38ab13b1741f4f25bbd25f1bba41b
hovercard-subject-tagpull_request:4233127166
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/6123/files
twitter:imagehttps://avatars.githubusercontent.com/u/457187?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/457187?s=400&v=4
og:image:altSupport Vitest as first class default option on unit testing. Other options are still options as well on init. Companion for NativeScript/nativescript-unit-test-runner#80 Summary by CodeRabbit N...
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/6123/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F6123%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%2F6123%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/6123/files
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6123/files
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6123/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
NathanWalkerhttps://github.com/NathanWalker
mainhttps://github.com/NativeScript/nativescript-cli/tree/main
feat/vitest-unit-testshttps://github.com/NativeScript/nativescript-cli/tree/feat/vitest-unit-tests
Conversation 7 https://github.com/NativeScript/nativescript-cli/pull/6123
Commits 2 https://github.com/NativeScript/nativescript-cli/pull/6123/commits
Checks 11 https://github.com/NativeScript/nativescript-cli/pull/6123/checks
Files changed https://github.com/NativeScript/nativescript-cli/pull/6123/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6123/files
feat: support vitest unit tests https://github.com/NativeScript/nativescript-cli/pull/6123/files#top
Show all changes 2 commits https://github.com/NativeScript/nativescript-cli/pull/6123/files
51352d9 feat: support vitest unit tests NathanWalker Aug 8, 2026 https://github.com/NativeScript/nativescript-cli/pull/6123/commits/51352d92a6cd96cc6fb60131cd95d03e01eb5b00
764e577 chore: visionos support for unit testing with vitest NathanWalker Aug 8, 2026 https://github.com/NativeScript/nativescript-cli/pull/6123/commits/764e5772f4764d628a9c7de8778768863208687a
Clear filters https://github.com/NativeScript/nativescript-cli/pull/6123/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6123/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6123/files
test-dependencies.json https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-a191bc0ec9ce2e3232ad08832745a63510a0f99bba4262f2fbb450913d43475e
test-android.md https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-2abe439f3e03ed1e98e0e6717c7d8a7e150d4bcf46b6cc4eec80543957774ee9
test-init.md https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-3830bcc7959fd66200b7ffdd62fd629c55000368f9ea7173b73e066c8e680cf5
test-ios.md https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-cde5f8a9afe06779f16dc85ae8d7bf7cff696db3e73e5d6a7f4d245e84f60f88
test-visionos.md https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-a462cb93a5aed88fd1dd3925856f5e74a43d8eeac656d158a646e7b12bb93aef
test.md https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-1eb0ae0454b36a6400c44a8c6678149a883acfdfbfa5b973def0166559db5697
bootstrap.ts https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-359198637d61ef2f720ea4bafa8777ea98ea51be2762a13f83e15d83c84b33fb
test-init.ts https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-db8b026f1b07b280e1a548a811a47a7d6a88bb0892e05045702f3d2e2d0bfcb0
test.ts https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-92f4ee17ee2d230cbaf07d94d17877cacb924e3858d4fce49fe4ec4c652d63c6
declarations.d.ts https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-4c75ef2da1f46df9c5ecd515deda0f8b0b0ff06ec8df93d7a5434cb5af0e0ea2
constants.ts https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-561ab956a0b904914573a9544f92493c5493b6e14d30372365bcdd9c5c7f6e59
project.d.ts https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-1a8d705894e0644814b9ccb9e2f271c53427dcad1d0036aeb470dd2bca9aeaf8
test-initialization-service.ts https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-1fcd82e701f3ceeaee08cc5bb467eaf6bb25a16fad7b5e95722ee2e16ae8e2f6
vitest-execution-service.ts https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-1177280454ccaa43c77f8d802fe94d49341813df5c27ef8d3c4793207922e1de
example.vitest.js https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-f68ce8cf0f381302dba5620d82c42eb1a21ffed5d1d7c1177aea06e4e4db839e
example.vitest.ts https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-838bb8c345078641b6354b03616c69efd3cd2688025c3558797695cf5d66f90c
network_security.xml https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-da226d783c7e6b0fafca2ef83dec8fd2579c06e6c3fb73e78b4b5c9356f06a31
test-main.vitest.js https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-af5090ad2e5e2af9c204bef7ffc7581b76db69c1518da7f4f57e6063a0e6f168
test-main.vitest.ts https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-3265aa62340caac84cb0637e508269758d04ac58d7a537a973508be1ba55d08e
vitest.config.mts https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-6cf9ad3cdc74bf0d5bed610535375718cb39837abbcd32224a33a171d2bebcda
config/test-dependencies.jsonhttps://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-a191bc0ec9ce2e3232ad08832745a63510a0f99bba4262f2fbb450913d43475e
View file https://github.com/NativeScript/nativescript-cli/blob/764e5772f4764d628a9c7de8778768863208687a/config/test-dependencies.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6123/{{ revealButtonHref }}
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6123/files
https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-a191bc0ec9ce2e3232ad08832745a63510a0f99bba4262f2fbb450913d43475e
https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-a191bc0ec9ce2e3232ad08832745a63510a0f99bba4262f2fbb450913d43475e
docs/man_pages/project/testing/test-android.mdhttps://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-2abe439f3e03ed1e98e0e6717c7d8a7e150d4bcf46b6cc4eec80543957774ee9
View file https://github.com/NativeScript/nativescript-cli/blob/764e5772f4764d628a9c7de8778768863208687a/docs/man_pages/project/testing/test-android.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6123/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-2abe439f3e03ed1e98e0e6717c7d8a7e150d4bcf46b6cc4eec80543957774ee9
docs/man_pages/project/testing/test-init.mdhttps://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-3830bcc7959fd66200b7ffdd62fd629c55000368f9ea7173b73e066c8e680cf5
View file https://github.com/NativeScript/nativescript-cli/blob/764e5772f4764d628a9c7de8778768863208687a/docs/man_pages/project/testing/test-init.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6123/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-3830bcc7959fd66200b7ffdd62fd629c55000368f9ea7173b73e066c8e680cf5
https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-3830bcc7959fd66200b7ffdd62fd629c55000368f9ea7173b73e066c8e680cf5
https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-3830bcc7959fd66200b7ffdd62fd629c55000368f9ea7173b73e066c8e680cf5
docs/man_pages/project/testing/test-ios.mdhttps://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-cde5f8a9afe06779f16dc85ae8d7bf7cff696db3e73e5d6a7f4d245e84f60f88
View file https://github.com/NativeScript/nativescript-cli/blob/764e5772f4764d628a9c7de8778768863208687a/docs/man_pages/project/testing/test-ios.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6123/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-cde5f8a9afe06779f16dc85ae8d7bf7cff696db3e73e5d6a7f4d245e84f60f88
docs/man_pages/project/testing/test-visionos.mdhttps://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-a462cb93a5aed88fd1dd3925856f5e74a43d8eeac656d158a646e7b12bb93aef
View file https://github.com/NativeScript/nativescript-cli/blob/764e5772f4764d628a9c7de8778768863208687a/docs/man_pages/project/testing/test-visionos.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6123/{{ revealButtonHref }}
coderabbitaihttps://github.com/apps/coderabbitai
Aug 8, 2026https://github.com/NativeScript/nativescript-cli/pull/6123/files#r3741226070
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6123/files
docs/man_pages/project/testing/test.mdhttps://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-1eb0ae0454b36a6400c44a8c6678149a883acfdfbfa5b973def0166559db5697
View file https://github.com/NativeScript/nativescript-cli/blob/764e5772f4764d628a9c7de8778768863208687a/docs/man_pages/project/testing/test.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6123/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-1eb0ae0454b36a6400c44a8c6678149a883acfdfbfa5b973def0166559db5697
https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-1eb0ae0454b36a6400c44a8c6678149a883acfdfbfa5b973def0166559db5697
lib/bootstrap.tshttps://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-359198637d61ef2f720ea4bafa8777ea98ea51be2762a13f83e15d83c84b33fb
View file https://github.com/NativeScript/nativescript-cli/blob/764e5772f4764d628a9c7de8778768863208687a/lib/bootstrap.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6123/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-359198637d61ef2f720ea4bafa8777ea98ea51be2762a13f83e15d83c84b33fb
https://github.com/NativeScript/nativescript-cli/pull/6123/files#diff-359198637d61ef2f720ea4bafa8777ea98ea51be2762a13f83e15d83c84b33fb
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6123/files
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.