Stono / helm-test

A mocha based testing CLI for helm packages
MIT License
26 stars 9 forks source link

Not able to run the tests #6

Open khhipparagi opened 6 years ago

khhipparagi commented 6 years ago

Hi, I've followed the steps as per the documentation, but failed to run the tests

When I ran the command "helm-test" got below output, no details on test cases helm-test [info] Welcome to helm-test v0.1.18! +0ms helm-test [info] Testing... +0ms helm-test [info] Finished. +13ms

Please let me know if any steps are missing.

gplasky commented 6 years ago

You must run helm-test from the directory where your Chart.yaml is located. Double-check you're in the right directory?

gplasky commented 6 years ago

Are you running helm-test from a local npm install? I ran into this same issue and it's because of the way the mocha binary is referenced when installed locally.

https://github.com/Stono/helm-test/blob/c03fc93d1c3e87e72df46a47ca9d52e5158e726b/lib/app.js#L10

That line (at least) needs to be fixed in order to run with a non-global install of helm-test.

khhipparagi commented 6 years ago

Hi, Yes, I did found the fix but couldn't commit it. As you said it is due to mocha.... Also, I see sometimes if helm charts are bigger, the asyc call to load is getting timeout. Thank you for your response.

Sent from Yahoo Mail on Android

On Tue, 4 Sep 2018 at 11:00 PM, Garrettnotifications@github.com wrote:
Are you running helm-test from a local npm install? I ran into this same issue and it's because of the way the mocha binary is referenced when installed locally.

https://github.com/Stono/helm-test/blob/c03fc93d1c3e87e72df46a47ca9d52e5158e726b/lib/app.js#L10

That line (at least) needs to be fixed in order to run with a non-global install of helm-test.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.