Skip to content

Instantly share code, notes, and snippets.

@FinalAngel
Last active December 27, 2015 03:49
Show Gist options
  • Save FinalAngel/7262060 to your computer and use it in GitHub Desktop.
Save FinalAngel/7262060 to your computer and use it in GitHub Desktop.

Frontend Testing Setup

Ideally this is the following we want to achieve:

  • Project setup works flawelessly, when running divio setup and divio run everything should work (We might also want to test that essential divio api commands are working)
  • We define a set of "core templates" which are tested agains:
    • Screenshot differences when changing code
    • HTML Validation and Linting to our coding guidelines
    • Common Selenium / JS tests
  • We need to find a way to test for checklist issues (missing favicon, robots.txt, analytics...)
  • When deploying to develop (or pull request merge) we trigger a deployment to dev which tests the full stack. Here we need some api calls when the tests success to display errors and warnings
  • At some point we need to include backend test, specifically addons testing so we ensure apps are working correctly (selenium recording?)

Frontend Testing Tools

Managers

Test Runner

Unit Tests

Continuous Integration

Emulators

Validators

Monitoring

Services

Reading Material

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment