The Site Reviewer Chrome Extension is a demonstration project designed to showcase testing strategies for Chrome extensions. It offers users the ability to rate and review websites directly within their Chrome browser. This extension aims to demonstrate best practices for testing Chrome extensions and highlights the importance of thorough testing in software development.
- Rating System: Users can rate websites based on their experience, providing valuable insights to other users.
- Review Submission: Write and submit reviews for websites, sharing personal experiences and opinions.
- Chrome Storage: Reviews are stored locally in Chrome storage cache, ensuring data privacy and security.
- Integration: Seamlessly integrates with the Chrome browser, appearing as an unobtrusive extension icon.
- Testing Strategies: Demonstrates various testing strategies for Chrome extensions, including unit tests, integration tests, and end-to-end tests.
- Clone Repository: Clone the Site Reviewer repository from GitHub.
- Install Dependencies: Run
yarn installto install the required dependencies. - Build Extension: Run
yarn buildto build the extension. - Test Extension: Run
yarn testto execute tests and ensure the extension functions correctly. - Load Unpacked: Open Chrome browser and go to
chrome://extensions/. - Enable Developer Mode: Toggle the Developer mode switch on the top right corner.
- Load Extension: Click on "Load unpacked" and select the
builddirectory of the extension. - Ready to Use: Once installed, the extension is ready to use, and the icon will appear in the browser toolbar.
- Rating: When visiting a website, click on the extension icon to rate and review the site.
- Submission: Submit your rating and review to contribute to the community feedback.
- Chrome Storage: Reviews are stored locally in Chrome storage cache, ensuring data privacy and security.
- Unit Tests: Tests individual components and functions in isolation to ensure they work as expected.
- Integration Tests: Tests how different components interact with each other within the extension.
- End-to-End Tests: Tests the extension's functionality from the user's perspective, simulating real-world scenarios.
The Site Reviewer extension is licensed under the MIT License. You are free to modify and distribute the extension according to the terms of the license.