nativescript-cli icon indicating copy to clipboard operation
nativescript-cli copied to clipboard

[Unit Testing] Don't exit the app on device, so that you can actually take advantage of the View Test Results functionality

Open ikoevska opened this issue 10 years ago • 5 comments

Right now, whether my unit tests fail or succeed, the deployed testable app exits right after the test execution. This prevents me from tapping the View Test Results Details button and review the details in the test log.

Although, usually the console shows the details from the test runs, there are cases (like when the app disconnects or the test fails with not particular info in the log) when I'd like to view the details in the app. So far, I have been able to make use of this button one time.

ikoevska avatar Oct 30 '15 13:10 ikoevska

Uhm, can we leave this a configurable item. I happen to prefer it to exit right away. That allows me to programmatically know the tests are done.

NathanaelA avatar Nov 06 '15 21:11 NathanaelA

Agree, this should be a configurable item.

dtopuzov avatar Nov 11 '15 08:11 dtopuzov

I think that the "View Test Results" functionality should be removed entirely. It's a leftover from the time when tests could work without connection to a Karma server.

tailsu avatar Dec 08 '15 08:12 tailsu

This issue was moved to NativeScript/nativescript-unit-test-runner#10

enchev avatar May 25 '16 10:05 enchev

OMG :) there's activity on this one!

ikoevska avatar Feb 27 '19 15:02 ikoevska