NativeScript / NativeScript/nativescript-cli
ns test init should be aware of being run on an Nx workspace app
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
Is your feature request related to a problem? Please describe.
When running ns test init inside the folder of an Nx NativeScript app I wish I would not need to manually update the project.json file to include the test target
Describe the solution you'd like
ns test init should search for a file called project.json in app's root folder and update its content with the default test target configuration (i.e., no coverage, default options for Android and iOS)
Describe alternatives you've considered
No response
Anything else?
No response
Please accept these terms
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- I agree to follow this project's Code of Conduct
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the ns test init command entry point and inspect how it builds test configuration. Find the app-root project.json, add the default no-coverage Android/iOS test target, and verify the command updates an Nx NativeScript app without requiring manual edits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, mobile-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100