Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with NativeScript

You're reading from   Getting Started with NativeScript Explore the possibility of building truly native, cross-platform mobile applications using your JavaScript skill—NativeScript!

Arrow left icon
Product type Paperback
Published in Jan 2016
Publisher
ISBN-13 9781785888656
Length 168 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Nathanael J. Anderson Nathanael J. Anderson
Author Profile Icon Nathanael J. Anderson
Nathanael J. Anderson
Arrow right icon
View More author details
Toc

Unit testing on the device


During the final review of the book, the master branch (the totally unreleased versions) of the nativescript command introduced the brand new nativescript test command. Fortunately, I saw something appear in the repos and asked about it. Yours truly, living totally dangerously, pulled the absolute latest and greatest master versions of everything so that I can document the all new bleeding-edge way to do unit testing on devices and emulators.

The latest and greatest daily master runtimes are automatically built for all platforms on http://nativescript.rocks as a community service. So, in all reality, it was a simple download and install, and then I was running the latest and greatest bleeding-edge NativeScript code. Typically, the only reason you run from master is if you need a fix or some feature that isn't going to show up until the next major release, which might be a while from now.

Until now, we were trying to test our code outside of NativeScript. This is...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime