acvetkov / sinon-chrome

Testing chrome extensions with Node.js
ISC License
439 stars 48 forks source link

Integration testing and Native Messaging #91

Open manuel114 opened 5 years ago

manuel114 commented 5 years ago

Hello,

I have built a chrome extension that uses native messaging to run a python script in the client machine. I am now trying to test everything and although I think I can do unit testing with sinon-chrome I'm not entirely sure if I can do integration testing since i can't manage to get chrome.runtime.connectNative(...) to return a port instance.

Any help?

Thank you!