Closed peterhil closed 5 years ago
I want to add support for Firefox using test driven development.
That will also help me writing good quality browser (integration/functional) and unit tests for Chrome, which do not still exist.
– Sinon-chrome could be used for mocking and spying the browser APIs – Puppeteer is a good candidate for implementing live browser testing.
The Browser APIs should be abstracted by functional strategy pattern and code from other parts of the extension than platform/ should not call different browser APIs directly.
platform/
Firefox support added in version 0.3.3. Continuous integration still needs to be set up.
Firefox (WebExtension) support
I want to add support for Firefox using test driven development.
That will also help me writing good quality browser (integration/functional) and unit tests for Chrome, which do not still exist.
Implementation plan
– Sinon-chrome could be used for mocking and spying the browser APIs – Puppeteer is a good candidate for implementing live browser testing.
The Browser APIs should be abstracted by functional strategy pattern and code from other parts of the extension than
platform/
should not call different browser APIs directly.