W3C

Guidelines for Writing Tests for Mobile Devices

Overview

This document provide a set of guidelines for writing effective and comprehensive tests for Mobile devices. They should be followed as much as possible. This guidelines may also apply to specifications for tests other than mobile devices tests.

1.0 Simplicity

Tests should be simple and evaluate a specific feature of the specifications.

2.0 Expected Results

The tests should be self explantory of what the expected results should be. Whenever alternate expected results are possible, it should also be self explanatory.

3.0 Short

Test should contain the minimun number of lines necessary to evaluate the feature.

4.0 Scrolling and Pagination

Scrolling and pagination should be keep to a minimun unless the test is specifically addressing those features.

5.0 Validity

Tests should be positive, that is conformant to the addressed specifications, unless they are specifically designed to catch negative/error conditions.

6.0 Error Conditions

Whenever a test is addressing an error condition, test should clearly indicate so.

7.0 Link to Specifications

Whenever possible a test should contain a link back to the specific area of the specifications it is evaluating.

8.0 Background Coloring

9.0 Whenever possible tests should not contain background colors as part of the test as some colors (such as red and green) are usually used to indicate pass/failure.

10.0 Green Coloring as Part of Execution Results

Whenever possible execution results should use green coloring to indicate succes.

11.0 Red Coloring as Part of Execution Results

Whenever possible execution results should use red coloring to indicate failure.

12.0 Yellow Coloring as Part of Execution Results

Whenever possible execution results should use yellow coloring to indicate uncertain results.

Webmaster · Last modified: $Date: 2008/09/16 18:42:58 $ by $Author: cmontane $

Copyright © 1994-2005 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.