Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for nativescript #1608

Closed
gngeorgiev opened this issue Mar 19, 2015 · 4 comments
Closed

Add support for nativescript #1608

gngeorgiev opened this issue Mar 19, 2015 · 4 comments

Comments

@gngeorgiev
Copy link

https://www.nativescript.org/

@dasilvacontin
Copy link
Contributor

I'm not familiar with NativeScript, but I've dug around a bit.

Seems like your .js files are copied to the bundle as is, no compiling or transpiling, and the only thing that changes are the underlying NativeScript libraries that you are using depending on your target platform. Therefore, Mocha is supported out of the box.

I've found no way of executing the App's code unless when running the app on the target platform. You should anyways test the code on the target devices to ensure everything runs fine.

You could require and use Mocha programatically. The output would show in your IDE/console when running the App in debug mode, e.g. in Xcode's Console.

That's the best solution I've come up with so far. Maybe someone else comes up with a better one, not sure.

@boneskull
Copy link
Contributor

NativeScript should provide some reasonable way to test your app. A cursory browse through the issues and documentation shows no mention of testing whatsoever.

@z3t0
Copy link

z3t0 commented Jun 28, 2015

@boneskull Agreed. I am also looking for something like this... all they have is the debug feauture

@boneskull
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants