Skip to content

tns test from a fresh project creation doesn't work #4119

Closed
@Oatelaus

Description

@Oatelaus

Environment

  • CLI: 5.0.0
  • Cross-platform modules: 5.0.2 (have also tested with 5.0.0, unsure if these versions need to match with CLI)
  • Android Runtime: 5.0.0
  • iOS Runtime: 5.0.0
  • Plugin(s):
Successfully prepared plugin nativescript-angular for android.
Successfully prepared plugin nativescript-theme-core for android.
Successfully prepared plugin nativescript-unit-test-runner for android.
Successfully prepared plugin tns-core-modules for android.
Successfully prepared plugin nativescript-intl for android.
Successfully prepared plugin tns-core-modules-widgets for android.

Describe the bug
When initializing tests for a fresh installation on V5, they immediately do not work and just don't even start.

To Reproduce

  1. tns create <appName> --ng
  2. cd <appName> && tns test init (I picked Jasmine for the test init)
  3. tns test android

The tests don't run.

Output here: https://hastebin.com/oluvahequl

You can see I edit the example.js file, in hopes a trigger of compilation could trigger tests.

Meanwhile my android device is reporting No reachable hosts.

Expected behavior

The tests to run.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions