Skip to content

gergoabraham/MoviesAndVegetables

Repository files navigation

Master/release: CircleCI codecov Develop: CircleCI codecov

Movies and Vegetables Icon

Version Downloads Users Rating

Feature description

Do you like to check out a movie both on IMDb and RottenTomatoes when you're searching for tonight's entertainment? But you hate to do all the searches twice... This extension might help you. =)

With this extension, you can

  • check out a movie's RottenTomatoes Tomatometer, AudienceScore and Critics Consensus on IMDb,
  • or its IMDb User score, Metascore and plot summary on RottenTomatoes, and even the TOP250 position!

Please consider that this extension is currently under development, there is a lot missing. New features are being implemented and released continuously.

Why does this extension need access for my data on IMDb, RottenTomatoes and especially on Google? First, the extension modifies the currently viewed IMDb/RottenTomatoes page by adding the scores. Second, it does the same what you would do: searches for the movie's pages in Google and opens its RottenTomatoes page in the background to get the scores. The given permissions are needed to make the extension be able to do this. (In the future, this may be changed to use some movie database API.)

Support

Please write a mail to the following address if you find any issue, or have a feature request: [email protected]

Donation

If you like this extension, please buy me a coffee. ◕ ◡ ◕

Developer showcase

Branching

  • master - released version - daily tests are performed on this branch,
  • develop - integration branch,
  • feature branches - for features.

Testing

There are two test levels:

  • Unit tests: sociable (units see each other - mini integration), working fakes instead of mocks, results are checked instead of behaviour. Also, html files are fetched and stored as files.
  • End-to-end tests: a minimal number of user journeys using geckodriver, just to make sure.

CI, automatization

  • On push: Every type of test is performed on every push by the CI server.
  • Daily: Tests are performed daily, so if any of the websites or browser features change, I receive an email immediately.
  • Release: Bumping version, generating changelog from tag messages, tagging, merging to master, pushing to remote with one npm command, then deploying to AMO by the CI server.

Sources

The example test environment in the webextensions-jsdom github repo was a huge help when starting this project.

Branching strategy is based on the great article of Vincent Driessen.

The Firefox Add-on related badges are hosted by Shields.io.

Disclaimer

This extension is neither a robot, nor a crawler. It is a simple browser extension that spares some mouse clicks for the user, triggered by the user's actions, and visualizes the result in a simple way.