NativeScript / NativeScript/nativescript-cli

unit test report improvment

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

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.

ns test command output doesn't show display source code and spec file in logs output, but display bundle.js as the source :
image

The page "Test run details" doesn't display the test name on Android. (Not tested on ios, the page doesn't work on ios)
image

=> There is no way to link the failing test and the source code

Describe the solution you'd like

It would be great to have source code / line number in output

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 with the ns test command output and the Android "Test run details" page described in the issue. Trace how the displayed source and test information is produced; the work is done when logs and the details page link a failing test to its source file and line number, including the test name on Android.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli, mobile-dev, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.