NativeScript / NativeScript/nativescript-cli

tns init test should also provide options for functional testing

Open
#3,000 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature unit testing
Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

From @kamok:

It'd be nice if tns init test does both Unit Testing and Functional Testing set up for you. I'm just getting started with NativeScript, and though Unit Testing is nice, it's not enough.

I'm having great difficulty digesting the new technologies, and wish it was just as easy as looking up a single doc and writing specs rather than all the set-up work as well.

The original issue:
https://github.com/NativeScript/NativeScript/issues/553#issuecomment-317141490

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 tns init test command entry point and inspect how it currently sets up unit testing. Identify the functional-testing setup this command should also provide; done means one invocation prepares both unit and functional testing for a NativeScript project.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.