NativeScript / NativeScript/nativescript-cli

ns test init should be aware of being run on an Nx workspace app

Open
#5,655 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.