acvetkov / sinon-chrome

Testing chrome extensions with Node.js
ISC License
434 stars 46 forks source link

Integration testing and Native Messaging #91

Open manuel114 opened 4 years ago

manuel114 commented 4 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!