Meego Wiki
Views

Quality/Testability-commenting

From MeeGo wiki
< Quality(Difference between revisions)
Jump to: navigation, search
(The Process)
(Undo revision 49802 by Edwardmaya (talk) Spam)
 
(2 intermediate revisions not shown)
Line 8: Line 8:
## If the feature description contains enough information and the QA contact knows how to test it, QA comments with check points of test cases and set testability to Yes.  Testability review ends unless there are changes in the feature.
## If the feature description contains enough information and the QA contact knows how to test it, QA comments with check points of test cases and set testability to Yes.  Testability review ends unless there are changes in the feature.
## If the feature description is not clear or ambiguous but QA still knows some way to cover the feature, QA comments with check points from his/her understanding, and ask feature owner to review.  Go to 3.
## If the feature description is not clear or ambiguous but QA still knows some way to cover the feature, QA comments with check points from his/her understanding, and ask feature owner to review.  Go to 3.
-
## If the feature description is limited and it is difficult for QA to identify the feature, QA contact comments asking more information and marks feature as NOT testable. Either the feature description is improved by PM or QA's questions are answered by feature owner, the testability should be set back to ---, thus QA contact can review it again(step 1&2 above).  If no feedback from feature owner or PM, QA leaves Testability as No.  
+
## If the feature description is limited and it is difficult for QA to identify the feature, QA contact comments asking more information and marks feature as NOT testable. Either the feature description is improved by PM or QA's questions are answered by feature owner, the testability should be set back to --- (by the feature owner or PM), thus QA contact can review it again(step 1&2 above).  If no feedback from feature owner or PM, QA leaves Testability as No.  
## For MASTER feature, QA contact sets Testability field to N/A. Testability review ends unless there are changes in the feature.
## For MASTER feature, QA contact sets Testability field to N/A. Testability review ends unless there are changes in the feature.
# Feature owner comments on the theoretical test, go to 4
# Feature owner comments on the theoretical test, go to 4

Latest revision as of 10:33, 12 April 2012

Contents

Introduction

In the past, a QA contact marked a feature with a yes/no statement and a checklist. This does not add any useful information to the process and provides little useful feedback for the feature owner. The objective of this document is to lay down guidelines for feature testability comments that will allow for discussion about test development with the feature owner.

The Process

Current testability analysis provides no real value. Marking a feature as testable does not mean that an adequate test can be written from the description. The process of marking a feature as testable will now require feedback from the feature owner. This will introduce an extra step to the process. The process now looks like this:

  1. The feature owner creates a [FEA] bug and describes the feature
  2. The QA contact comments on the feature with a testability analysis and a theoretical test description/check points.
    1. If the feature description contains enough information and the QA contact knows how to test it, QA comments with check points of test cases and set testability to Yes. Testability review ends unless there are changes in the feature.
    2. If the feature description is not clear or ambiguous but QA still knows some way to cover the feature, QA comments with check points from his/her understanding, and ask feature owner to review. Go to 3.
    3. If the feature description is limited and it is difficult for QA to identify the feature, QA contact comments asking more information and marks feature as NOT testable. Either the feature description is improved by PM or QA's questions are answered by feature owner, the testability should be set back to --- (by the feature owner or PM), thus QA contact can review it again(step 1&2 above). If no feedback from feature owner or PM, QA leaves Testability as No.
    4. For MASTER feature, QA contact sets Testability field to N/A. Testability review ends unless there are changes in the feature.
  3. Feature owner comments on the theoretical test, go to 4
    1. Feature owner is encouraged to provided best known methods to validate the feature.
    2. Feedback or suggestion from feature owner that may help QA improve coverage or quality of QA's test cases are welcome.
  4. If the test is adequate, the feature is marked as testable (set testability field to 'Yes'), if it is not, go back to 2.
    1. After feature owner agrees with QA's check points, QA contact set Testability to Yes.
    2. If there is no feedback from feature owner for more than 2 weeks(or more?), QA contact considers his/her check points is adequate to cover the feature, thus mark as testable.


Testability Analysis

The testability checklist can be found here: Feature Testability Checklist

The QA Contact should analyze the feature description and compare it to the requirements of the Testability Checklist. A yes/no verdict should be supplied (in the comment), and, (especially if the verdict is no) a justification should be provided for the verdict. If the feature cannot be tested, suggesting a method to rectify the situation is strongly suggested.

Theoretical Test

In general, the person who would know how best to test a feature is the feature developer themselves. The suggested way to get their input about the feature and have the information easily accessible is to suggest a test while commenting on the testability.

The suggested test can consist of a name and/or a test description.

By suggesting a test to the feature developer, the barriers for participating in the test development process are lowered. While the test developer may not have time or be inclined to describe a test on their own, if a test is suggested, they can easily comment on the suggested test. This makes it easier to catch a misinterpretation of the feature in an early stage, and can allow for better, more complete, tests.

Marking a Feature as Testable

A feature should only be marked as Testable after the feature owner has confirmed that the test is adequate to test his/her feature.

Benefits for Feature Verification

By suggesting a test (especially with a test case name), feature verification will be easier as all the information required for feature verification is already present in the feature bugzilla.

Template

This template is suggested for use when commenting features:

Testability statement as per: http://wiki.meego.com/Quality/TestabilityChecklist

1. Can I write a test based on the information in this description?
  Yes/No. Comment?

2. Are relevant technology parameters available (Sample rates, Bit Rates,
supported picture sizes, etc.) described?
  Yes/No. Comment?

3. For Core OS: Is API Under test defined clearly?
  Yes/No. Comment?

Summary: Testability is OK/not OK.

Required from assignee to fix Testability: List here if Testability is NOT OK


QA Proposed test as per: http://wiki.meego.com/Quality/Testability-commenting

Test would ... If ... the test would pass.

Feature Assignee: Please confirm if this test is adequate to verify that the
feature works. The feature has been marked as not testable. Testability will
be set to 'Yes' after the Feature Assignee has commented on the test.


Conclusion

By allowing a little more time for testability studies, feature owners/developers can be provided with a clear view on the testing of their feature. This can help avoid misunderstandings with regard to feature functions and can make feature verification easier.

Personal tools