Wikimedia Apps/Team/iOS/Wikipedia App/Regression Tests

Before each release of the iOS Wikipedia app we run a variety of manual tests to ensure new and old features are working properly.

These tests are sometimes referred to as "regression tests" because if a feature is broken it is said to have "regressed".

We are creating a variety of regression test pages to keep track of the things which need to be regularly tested.

List of existing regression test pages
The following pages describe the steps you can take to verify various parts of the app are still working as intended.
 * coming soon
 * coming soon

What to do when you discover a regression

 * coming soon

New regression test page location
Test pages should be created in the Wikimedia_Apps/Team/iOS/Wikipedia_App/Regression_Scripts/ folder.

New regression test page best practices
Regression test pages should be fairly narrowly scoped to test a particular part or feature of the app.

For example, for verifying the app's welcome screens it would be tempting to just create a one regression test page for testing everything about the welcome screens, but it's better in the long-run if regression test pages are more narrowly scoped.

Consider the following breakdown:

Pages for verifying the layout of each welcome screen
 * /Regression_Scripts/Welcome/Layout/Explore
 * /Regression_Scripts/Welcome/Layout/Languages
 * /Regression_Scripts/Welcome/Layout/Volunteer

Page for testing navigation between welcome screens
 * /Regression_Scripts/Welcome/Navigation

Pages for testing changing various welcome screen settings and confirming those changes are reflected elsewhere in the app
 * /Regression_Scripts/Welcome/Change/Usage_Report
 * /Regression_Scripts/Welcome/Change/Preferred_Languages

Images shown on regression test pages
Regression test pages contain many screenshot images. There are a few things to keep in mind when uploading screenshots to use with regression test pages.

Screenshot naming
Images associated with regression test pages should be named according to the following format: wikipedia-ios-app-regression-short_description.png

Screenshot uploading and Licensing
Screenshots should be uploaded to mediawiki.org.

If uploaded to commons they may be deleted if any individual part of the screenshot composition isn't separately attributed.

To upload a screenshot use the following steps: