peterhil / spellbook

Spellbook is a WebExtension to easily add new bookmarks to correct categories
Mozilla Public License 2.0
29 stars 2 forks source link

Firefox WebExtension support #3

Closed peterhil closed 5 years ago

peterhil commented 5 years ago

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.

peterhil commented 5 years ago

Firefox support added in version 0.3.3. Continuous integration still needs to be set up.