plugin-seed icon indicating copy to clipboard operation
plugin-seed copied to clipboard

Where to place plugin tests?

Open agonper opened this issue 5 years ago • 4 comments

Hello,

First of all, thank you very much for the big effort you've invested on this. It looks awesome.

I've been checking the plugins repo and I can't see where all the tests have gone. I see a jest config file on the root folder but nothing else.

I would like to migrate three of our organization plugins to this new approach. We have a plethora of Jasmine plugins in our repos which are setup to run on TravisCI, we wouldn't like to loose that. Any migration tips?

Note: we haven't made it possible to run tests on the demo app after NS7 migration, but that's another issue ;)

Thanks in advance

agonper avatar Sep 16 '20 18:09 agonper

Great question @agonper were working on the test runner - it also needed adjustments for es2017 targeting. Aiming at next week to complete its compliance and then we’ll add a migration to add it to all workspaces out there 👍

NathanWalker avatar Sep 17 '20 00:09 NathanWalker

Thanks @NathanWalker for the quick response. I appreciate it.

If that's the case, we'll delay the migration to NS7 a little bit. It is good to know that you're working on the test runner. I was having the intuition that our problem with that was related to the new module system.

May I ask how can I be informed once the test runner is stable enough to migrate our plugins to NS7 and to the new workspace system?

Many thanks for your effort. NativeScript has been a game changer for us and we are happy to see how it progresses from being community driven.

agonper avatar Sep 17 '20 14:09 agonper

You can monitor this issue here 👍 I’ll post back once we have the test runner going.

NathanWalker avatar Sep 17 '20 15:09 NathanWalker

Awesome. Thanks!

agonper avatar Sep 17 '20 15:09 agonper