Marketplace/Testing

From MozillaWiki
< Marketplace
Revision as of 18:12, 29 January 2015 by Amckay (talk | contribs)
Jump to navigation Jump to search

Overview

This is an overview of testing improvements for the Marketplace apps itself (zamboni, fireplace etc).

Q1 Goals

  • Improve testing of marketplace front end components (eg. marketplace-core-modules, marketplace-elements)
  • Investigate using SlimerJS instead of Phantom

Later goals

Potential things

Things that might be a good idea.

= Testing visualization/metrics

1. Testing dashboard. 2. Graphs showing # of tests. 3. Comment on PR with coverage? (I don't like coverage) 4. Style testing bot a la GitHub? http://zachholman.com/posts/how-github-writes-blog-posts/#continuous-integration

Integration tests across projects

1. Submission, review and consumer pages. 2. Purchasing an app. 3. Likely casperjs but there is already a python repo from QA.

Visual regression testing

1. Attach images with large changes to PRs.

Spin up a docker instance with changes for a PR

1. When you submit a PR, spin up an AWS and load marketplace-env at your SHA. 2. This will aid manual testing (label:keep-test-env). 3. This will allow the integration tests to run against your PR. 4. Should this be app specific? what if zamboni updates while your PR is open?

Video/screenshot of failing UI tests on Travis.

Bugs

Tracking bug: 1127432.

No results.

0 Total; 0 Open (0%); 0 Resolved (0%); 0 Verified (0%);