1
1
mirror of https://github.com/primer/css.git synced 2024-12-24 14:42:26 +03:00
css/docs/content/tools/testing.md
2019-08-12 15:33:06 -07:00

1.3 KiB

title path
Testing resources tools/testing

At GitHub we use a staging environment called review-lab for testing with production data. Deploying a branch to review-lab for testing is one of the best ways to test your work with real production data prior to an actual production deployment.

To make testing on review-lab for extended periods of time easier, you can use the Redirector extension for Chrome to redirect all GitHub.com traffic to your review-lab deploy URL.

How to use it

  1. Install the extension
  2. Open the extension options panel from the icon in Chrome
  3. In the "From" field, enter: https:\/\/github\.com\/?(.+)?
  4. In the "To" field, enter: https://branchname.review-lab.github.com/$1 where branchname is the name of your branch.

Tips

  • You'll need to remove your rule or simply disable the extension when you want to stop redirecting to your branch.
  • If you're trying to reach GitHub.com or your review-lab URL but are getting a "This page isn't working" message in your browser, that means your review-lab deploy has gone stale and needs to be redeployed.