acvetkov / sinon-chrome

Testing chrome extensions with Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Integration testing and Native Messaging

manuel114 opened this issue · comments

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!