Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local web server for development/testing #15

Open
adapap opened this issue Feb 12, 2020 · 3 comments
Open

Local web server for development/testing #15

adapap opened this issue Feb 12, 2020 · 3 comments
Labels
workflow Automation, testing, and configuration

Comments

@adapap
Copy link
Collaborator

adapap commented Feb 12, 2020

A local web server will allow tests to function as expected. In theory, this should also expedite development as one will not need to manually load the extension into the browser.

[This extension] uses Selenium to emulate a Chrome runtime.
[Webserver implementation] to improve development workflow and support automated testing.
Needed for #14 to provide value.

@adapap adapap added the workflow Automation, testing, and configuration label Feb 12, 2020
@dyc3
Copy link
Member

dyc3 commented Feb 12, 2020

Why a web server? Is there not a way to automatically put an extension into a browser and load that?

@adapap
Copy link
Collaborator Author

adapap commented Feb 21, 2020

I just added a hot-reload plugin which has the extension query its local files to see if there were changes (after all, they are tied to your computer's filesystem). So a webserver may not be necessary anymore. Still need to fix webpack development which doesn't rebuild everything properly.

@adapap
Copy link
Collaborator Author

adapap commented Feb 21, 2020

However, I do think we have to emulate the browser in order to write any tests that work before uploading the extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
workflow Automation, testing, and configuration
Projects
None yet
Development

No branches or pull requests

2 participants