mocha-sidebar icon indicating copy to clipboard operation
mocha-sidebar copied to clipboard

Support for vue projects

Open maystar opened this issue 7 years ago • 13 comments

Does the sidebar support testing vue projects? If yes can somebody give me a hint how to configure the plugin in order to use it in a project like this: https://github.com/vuejs/vue-test-utils-mocha-webpack-example

maystar avatar Feb 01 '18 20:02 maystar

In the same boat as @maystar, I think this should be possible if I can work out how to get mocha-webpack working with mocha-sidebar.

james-andrewsmith avatar Mar 06 '18 07:03 james-andrewsmith

@james-andrewsmith did you have any luck with this?

SSmale avatar May 12 '18 12:05 SSmale

What are the configuration you using for running vue via cli

On Tue, Mar 6, 2018, 9:47 AM James Andrew-Smith [email protected] wrote:

In the same boat as @maystar https://github.com/maystar, I think this should be possible if I can work out how to get mocha-webpack working with mocha-sidebar.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/maty21/mocha-sidebar/issues/53#issuecomment-370692937, or mute the thread https://github.com/notifications/unsubscribe-auth/AE_nuYvOzS9KsZWLS3rPIlC2EP4rngvaks5tbj8vgaJpZM4R2RYE .

maty21 avatar May 12 '18 14:05 maty21

Try set mocha.path to mocha-webpack folder

maty21 avatar May 12 '18 14:05 maty21

@maty21 If I run my tests with the command mocha-webpack --webpack-config build/webpack.test.conf.js how would I replicate this within sidebar?

Sorry if it is an obvious setting, feel like i am having a blonde day

SSmale avatar May 12 '18 15:05 SSmale

I think you can't send me sample of code to run with configuration to run it via cli and Ill try to implement that feature for you guys :)

maty21 avatar May 12 '18 16:05 maty21

I have added you to a private repo I am working on that has a few tests in it.

Please reach out if you need anything else

SSmale avatar May 12 '18 16:05 SSmale

Hi Guys, Any progress with using vue cli?

I need it too.

kabytaa avatar Jul 07 '18 14:07 kabytaa

Nop I tried to played with it the implementation for it is a bit different since vue uses webpack in order to run mocha and other than other complilers that runs with in mocha with vue webpack runs mocha . I'll tried to find some time for implementing it

On Sat, Jul 7, 2018, 5:59 PM kabytaa [email protected] wrote:

Hi Guys, Any progress with using vue cli?

I need it too.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/maty21/mocha-sidebar/issues/53#issuecomment-403221475, or mute the thread https://github.com/notifications/unsubscribe-auth/AE_nuVSn1ZMOXG4BI8vJy6leWmrWrcF_ks5uEMzggaJpZM4R2RYE .

maty21 avatar Jul 07 '18 15:07 maty21

Any news on this feature?

gprl avatar Jul 23 '19 06:07 gprl

I'm also interested in this...

mika76 avatar Sep 10 '19 09:09 mika76

I'd love this feature too !

Julien1138 avatar Apr 23 '20 09:04 Julien1138

Any news!!!! I would love to get this working or know what packages anyone else is using.

msantoro12 avatar Jun 30 '20 15:06 msantoro12