AUS:Tests: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 70: Line 70:
</table>
</table>


== -cck- Fallback Tests ==
 
These tests would be run IFF the channel matched the -cck- regex (\w+\-cck\-\w+).
<table>
<tr style="background-color: #eee;">
<th>test</th><th>-cck- update exists?</th><th>fallback exists?</th><th>Update offered?</th>
</tr>
<tr><td>*-cck-* channel</td><td>no</td><td>no</td><td>no</td></tr>
<tr><td>*-cck-* channel</td><td>yes</td><td>no</td><td>yes, from explicit channel</td></tr>
<tr><td>*-cck-* channel</td><td>no</td><td>yes</td><td>yes, from fallback channel</td></tr>
<tr><td>*-cck-* channel</td><td>yes</td><td>yes</td><td>yes, from explicit channel</td></tr>
</table>


= Requirements =
= Requirements =

Revision as of 16:12, 21 August 2006

Test Cases

Normal Tests

test release update exists? matches fallback regex? fallback update exists? is nightly channel? nightly update exists? release update offered? fallback update offered? nightly update offered?
Invalid parameter No No No No No No No No
*-cck-* channel, no update No Yes No No No No No No
*-cck-* channel, explicit update Yes Yes No No No No No Yes
*-cck-* channel, fallback update No Yes Yes No No No Yes No
*-cck-* channel, explicit update Yes Yes Yes No No No No Yes


Requirements

  • Gather build data and determine realm of possible update URIs
  • Use this data to allow us to define a particular subset of these combinations based on:
    • Product
    • Version
    • Platform
    • BuildID
    • Locale
    • Channel
  • Generate an easy-to-understand interface that allows us to see whether or not output has changed between AUS versions.
    • Simple pass/fail table comparing one version to another (see cf's example)
    • Some way to visualize partner channel fallback -- should separate this out into its own table?

Questions

  • What are the differences between davel's tests and simple output tests?
    • Hash checking after actual download?

Existing Tools

These need to be consolidated into a more complete single testing suite: