Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

QA testing: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
(→‎Failed tests: MDLQA as testing instructions)
m ({{Moodle community}})
 
(10 revisions intermèdies per 4 usuaris que no es mostren)
Línia 1: Línia 1:
{{Moodle community}}
{{Moodle community}}
'''Quality Assurance''' tests look at the functionality of Moodle from a user's point of view.
Quality Assurance (QA) tests look at the functionality of Moodle from a user's point of view.


Real users systematically try each feature in Moodle and test that it works in the current version of the Moodle code.
Real users systematically try each feature in Moodle and test that it works in the current version of the Moodle code.


These tests are repeated in series of cycles, usually just before major releases.
These tests are repeated in series of cycles, usually just before major releases. Developers and volunteer testers communicate through [[Tracker]] on what they find. More information can be found in the Development page also called [https://docs.moodle.org/dev/QA_testing QA testing].
 
 
<p class="note">'''QA testing latest:''' ''We'll be starting another QA cycle this week to test Moodle 2.1 before its release on 30th June 2011.''</p>
 
 
==Getting involved==
 
[[Image:Qa test workflow actions.png|thumb|Testers can pass or fail QA tests and add comments]]Would you like to help with QA testing? If so, please contact [http://moodle.org/user/view.php?id=24152&course=1 Helen] and ensure you're subscribed to the [http://moodle.org/mod/forum/view.php?id=56 Testing and QA forum] in order to receive QA testing news updates.
 
All testers are members of the testers group in the Moodle Tracker, enabling them to pass or fail QA tests and add comments.
 
==Running tests==
 
# Select a test from the Moodle 2.1 QA list
# Using either the [http://qa.moodle.net/ Moodle QA Testing Site] or your own test site running the latest Moodle 2.1 (available from http://download.moodle.org or the [[Git for Administrators|moodle.git server]] or one of our [[CVS for Administrators|cvs mirrors]]), perform each of the steps listed in the test
# Choose an appropriate workflow action:
#* ''Pass'' - Test runs perfectly :-)
#* ''Fail'' - Indicate in a comment where the test fails and '''include the MDL issue number of the report of the problem''', [http://tracker.moodle.org/secure/CreateIssue!default.jspa?pid=10011 creating a new Tracker issue] if necessary (see below for more details)
#* ''Obsolete'' - Test is no longer relevant in the current Moodle version (unlikely for Moodle 2.0, but may occur when testing Moodle 2.1)
 
If in doubt whether to pass a test, give it a fail and perhaps ask someone else to have a look by adding them as a watcher then adding a comment.
 
Note: Always use the latest version of Moodle 2.1 for testing or the [http://qa.moodle.net/ Moodle QA Testing Site].
 
When you pass or fail a test, you are automatically named as the assignee.
 
==Failed tests==
 
So you ran a test and it failed? Congratulations on finding a bug! Please do the following:
 
# Make sure that the problem is reported as an MDL issue in the Tracker for developers to investigate and fix. Add the MDLQA number to the testing instructions field.
# Add a comment to the QA test, stating the MDL issue number
# Link the MDL issue to the QA test
# (Optional) Add yourself as a watcher to the MDL issue so that you receive email notification when the issue is fixed
# When the MDL issue is fixed, hopefully within a day or two, the QA test can be reset
# The reset QA test can then be run again
 
Note for testers:
 
The [http://qa.moodle.net/ Moodle QA Testing Site] will be updated daily at 11:00 UTC with the latest bug fixes to enable you to quickly re-run any previously failed QA tests.
 
Note for developers:
 
After fixing a bug, please add a comment to the linked MDLQA test thanking the tester and informing them that the test can be run again, then click the reset link. The tester will then receive email notification that the bug is fixed and will hopefully decide to run the test again soon. (Otherwise when the test is reset, it's assigned to nobody, and if the tester isn't watching the MDL issue, they won't know about the bug being fixed.)
 
==The role of Core developers in creating tests==
 
When a developer adds functionality to Moodle, they should also do the following.
 
# Write user documentation in the User docs about the new feature (this should happen as part of the normal development process). Ask someone to proof read this documentation.
# Add a feature to the Release notes (for example in the [[Moodle_2.1_release_notes|2.1 Release notes]]). This feature should include a link to the appropriate Tracker issue, which will contain testing instructions. The feature should also include a link to the user documentation for the feature.
 
The QA tests will be written by the Community Manager or a Test Writer based on the documentation and release notes written by the developer.
 
==Writing new tests==
 
Would you like to help with writing new QA tests? If so, you'll need to be a member of the test writers group in the Tracker. Please contact Helen about being added.
 
To create a new QA test:
 
# Create a sub-task of MDLQA-1
# Select Master copy as affected version
# Select appropriate components including at least one of the following: User, Student, Teacher, Administrator
# Leave the assignee as automatic (nobody)
 
New tests will be included in the next QA cycle.
 
==Feedback==
 
Feedback on all aspects of our QA testing process is welcome. If you have any questions or comments, please post in the [http://moodle.org/mod/forum/view.php?id=56 Testing and QA forum] in Using Moodle.
 
==See also==
 
* [[Testing credits]]
 
Comments on tests from previous QA cycles:
* [http://tracker.moodle.org/browse/MDLQA-150 Moodle 2.0 QA Cycle 1]
* [http://tracker.moodle.org/browse/MDLQA-328 Moodle 2.0 QA Cycle 2]
* [http://tracker.moodle.org/browse/MDLQA-540 Moodle 2.0.2 QA]
 
[[Category:Quality Assurance]]

Revisió de 16:21, 8 ago 2011

Quality Assurance (QA) tests look at the functionality of Moodle from a user's point of view.

Real users systematically try each feature in Moodle and test that it works in the current version of the Moodle code.

These tests are repeated in series of cycles, usually just before major releases. Developers and volunteer testers communicate through Tracker on what they find. More information can be found in the Development page also called QA testing.