Test cases 8.2.0: Difference between revisions
(removed the "format=template" argument, no longer used) |
|||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
== |
== Add test results == |
||
{{merge|Reporting test results}} |
|||
The test case form has a test result form within it that you can fill in, and you can add additional test results by clicking on the [Add another] button under the test case form. |
|||
First review the set of test cases that already exist [[Test_cases_8.2.0#Test_cases]]. Some of them are stubs to be filled out and others include procedures. Also review the category and sub-categories being used to choose your test case name. |
|||
⚫ | |||
* Use /Tests/category/sub-category(as needed)/testname as the name of the new test case |
|||
* Use the following categories: |
|||
** Tests/Boot/, Tests/Network/, Tests/Upgrades/, Tests/Journal/, Tests/SugarUI/, Tests/SugarControlPanel/, Tests/Power/, Tests/Peripherals/, Tests/Activity/, Tests/XS/ (school server), Tests/I18N/, Test/SmokeTest/ |
|||
Here are what the fields are for: |
|||
* '''Name of the test case:''' Short description of the test case. |
|||
* '''Category:''' The category this test case falls under. Select the value you used for the <category> part of the name for the new test case. |
|||
* '''Sub-category:''' The sub-category this test case falls under. Select the value you used for the <nowiki><sub-category></nowiki> part of the name for the new test case. |
|||
* '''Stream:''' What stream of builds does this test belong to? Is it specific to Joyride? Update.1? Any stream? |
|||
* '''Build:''' If this test is for a specific stream, what is the earliest build number that it applies to? (optional field) |
|||
* '''Component being tested:''' What is the activity or feature of the XO that this test case is for? |
|||
* '''Wiki link to the feature:''' Text field. |
|||
* '''Summary:''' A brief description describing what functionality the test case is intended to verify. |
|||
* '''Tools:''' Do you need any special tools for the test? In most cases, the answer will be no. |
|||
* '''Setup:''' Do you need the laptops to have specific builds or activities? Do the laptops explicitly need to be registered (or not) with a schoolserver? |
|||
* '''Procedure:''' The steps the tester must take to finish the test case. |
|||
* '''Expected results:''' What should happen if everything is working as expected? What must happen for a run-through of this test case to be considered a pass? |
|||
* '''Notes:''' Anything else that doesn't fit in the other fields. |
|||
To add a new test case, click here: [http://wiki.laptop.org/go/Form:Test_case New Test Case] <br> |
|||
== Add Test Results == |
|||
When creating a test case with the form, you can also add test results if you're running through the test case as you write it into the form by clicking on the "add another" button under the test case form. Here are what the fields are for: |
|||
; Tested Release : What release build was this? 8.1.1? 7.1.0? A Release Candidate? |
; Tested Release : What release build was this? 8.1.1? 7.1.0? A Release Candidate? |
||
; Tested Stream : What build stream was used? Joyride? Update.1? |
; Tested Stream : What build stream was used? Joyride? Update.1? |
||
Line 38: | Line 18: | ||
== Test cases == |
== Test cases == |
||
⚫ | |||
=== Activities === |
=== Activities === |
||
If you are creating test cases for an activity, please include the base functionality that is important for all activities; then you can include other functional testing as well. |
If you are creating test cases for an activity, please include the base functionality that is important for all activities; then you can include other functional testing as well. |
||
The "NZ activity test" is [http://wiki.laptop.org/go/Activity_testing_template#The_NZ_activity_test here] |
|||
Base Activity Testing: <br> |
|||
====Basic activity testing==== |
|||
# Activity installs from download (if not part of default installation) from website or USB key |
# Activity installs from download (if not part of default installation) from website or USB key |
||
# Activity starts up |
# Activity starts up |
||
Line 54: | Line 35: | ||
# You can close the activity from the Sugar frame |
# You can close the activity from the Sugar frame |
||
==== Activity-specific test cases ==== |
|||
{| |
{| |
||
! Test case !! Short name !! Test objective !! Add test result |
! Test case !! Short name !! Test objective !! Add test result |
||
Line 61: | Line 43: | ||
| ?Short name |
| ?Short name |
||
| ?Test objective |
| ?Test objective |
||
| format=template |
|||
| template=test-case-query |
| template=test-case-query |
||
| default=No articles found in [[:Category:Test cases]] that [[Property:Test category|test category "Activity"]] ?! |
| default=No articles found in [[:Category:Test cases]] that [[Property:Test category|test category "Activity"]] ?! |
||
Line 75: | Line 56: | ||
| ?Short name |
| ?Short name |
||
| ?Test objective |
| ?Test objective |
||
| format=template |
|||
| template=test-case-query |
| template=test-case-query |
||
| default=No articles found in [[:Category:Test cases]] |
| default=No articles found in [[:Category:Test cases]] |
||
Line 89: | Line 69: | ||
| ?Short name |
| ?Short name |
||
| ?Test objective |
| ?Test objective |
||
| format=template |
|||
| template=test-case-query |
| template=test-case-query |
||
| default=No articles found in [[:Category:Test cases]] |
| default=No articles found in [[:Category:Test cases]] |
||
Line 103: | Line 82: | ||
| ?Short name |
| ?Short name |
||
| ?Test objective |
| ?Test objective |
||
| format=template |
|||
| template=test-case-query |
| template=test-case-query |
||
| default=No articles found in [[:Category:Test cases]] |
| default=No articles found in [[:Category:Test cases]] |
||
Line 117: | Line 95: | ||
| ?Short name |
| ?Short name |
||
| ?Test objective |
| ?Test objective |
||
| format=template |
|||
| template=test-case-query |
| template=test-case-query |
||
| default=No articles found in [[:Category:Test cases]] |
| default=No articles found in [[:Category:Test cases]] |
||
Line 131: | Line 108: | ||
| ?Short name |
| ?Short name |
||
| ?Test objective |
| ?Test objective |
||
| format=template |
|||
| template=test-case-query |
| template=test-case-query |
||
| default=No articles found in [[:Category:Test cases]] |
| default=No articles found in [[:Category:Test cases]] |
||
Line 146: | Line 122: | ||
| ?Short name |
| ?Short name |
||
| ?Test objective |
| ?Test objective |
||
| format=template |
|||
| template=test-case-query |
| template=test-case-query |
||
| default=No articles found in [[:Category:Test cases]] |
| default=No articles found in [[:Category:Test cases]] |
||
Line 159: | Line 134: | ||
| ?Short name |
| ?Short name |
||
| ?Test objective |
| ?Test objective |
||
| format=template |
|||
| template=test-case-query |
| template=test-case-query |
||
| default=No articles found in [[:Category:Test cases]]}} |
| default=No articles found in [[:Category:Test cases]]}} |
||
Line 172: | Line 146: | ||
| ?Short name |
| ?Short name |
||
| ?Test objective |
| ?Test objective |
||
| format=template |
|||
| template=test-case-query |
| template=test-case-query |
||
| default=No articles found in [[:Category:Test cases]] |
| default=No articles found in [[:Category:Test cases]] |
||
Line 186: | Line 159: | ||
| ?Short name |
| ?Short name |
||
| ?Test objective |
| ?Test objective |
||
| format=template |
|||
| template=test-case-query |
| template=test-case-query |
||
| default=No articles found in [[:Category:Test cases]] |
| default=No articles found in [[:Category:Test cases]] |
||
Line 200: | Line 172: | ||
| ?Short name |
| ?Short name |
||
| ?Test objective |
| ?Test objective |
||
| format=template |
|||
| template=test-case-query |
| template=test-case-query |
||
| default=No articles found in [[:Category:Test cases]] |
| default=No articles found in [[:Category:Test cases]] |
||
Line 214: | Line 185: | ||
| ?Short name |
| ?Short name |
||
| ?Test objective |
| ?Test objective |
||
| format=template |
|||
| template=test-case-query |
| template=test-case-query |
||
| default=No articles found in [[:Category:Test cases]] |
| default=No articles found in [[:Category:Test cases]] |
||
Line 228: | Line 198: | ||
comments at [[Semantic MediaWiki#Suggestions_for_test_cases]]. |
comments at [[Semantic MediaWiki#Suggestions_for_test_cases]]. |
||
== General (older) |
== General (older) test cases == |
||
This is a list of test cases that existed before the test case template. Once these have been moved into the template, this section can go away. |
This is a list of test cases that existed before the test case template. Once these have been moved into the template, this section can go away. |
||
* [[Tests/ |
* [[Tests/Home view]] |
||
* [[Tests/ |
* [[Tests/100 laptops]] - update chat, read, and add write, browse, and record |
||
* [[ |
* [[Battery Results]] - need new battery life tests for 8.2 |
||
* [[ |
* [[Use Cases]] |
||
* [[Testing matrix]] |
|||
* many of the pages in [[:Category:Test Plans]], e.g. those named Tests/''Activity Name'' |
* many of the pages in [[:Category:Test Plans]], e.g. those named Tests/''Activity Name'' |
||
[[Category:Test plans]] |
Latest revision as of 19:55, 17 March 2010
Add test results
The test case form has a test result form within it that you can fill in, and you can add additional test results by clicking on the [Add another] button under the test case form.
The tables below have a shortcut: just click the '+' sign next to a test case to edit it in the form, then click the [Add another] button.
Here are what the fields are for:
- Tested Release
- What release build was this? 8.1.1? 7.1.0? A Release Candidate?
- Tested Stream
- What build stream was used? Joyride? Update.1?
- Tested Build
- What is the build number that was used?
- Pass/Fail
- Did the test pass or fail?
- Associated trac tickets
- List the trac tickets associated with this test if any were filed.
- Comments
- How did the test fail? A short description of what went wrong.
- Today's Date
- When did you run the testcase? The month and year will be filled in for you automatically.
You can also go to the test case's page and click the "edit with form" tab and add results for the test case using the same method.
Test cases
Activities
If you are creating test cases for an activity, please include the base functionality that is important for all activities; then you can include other functional testing as well.
The "NZ activity test" is here
Basic activity testing
- Activity installs from download (if not part of default installation) from website or USB key
- Activity starts up
- You can re-name the activity
- User specific data can be created
- You can force a save
- Activity closes properly from inside the activity
- You can resume the activity from the Journal
- You see the user specific data after resume
- You can close the activity from the Sugar frame
Activity-specific test cases
{{#ask: Test category::ActivityTest case | Short name | Test objective | Add test result |
---|---|---|---|
?Short name | ?Test objective | template=test-case-query | default=No articles found in Category:Test cases that test category "Activity" ?!
}} |
Boot
{{#ask: Test category::BootTest case | Short name | Test objective | Add test result |
---|---|---|---|
?Short name | ?Test objective | template=test-case-query | default=No articles found in Category:Test cases
}} |
Journal
{{#ask: Test category::JournalTest case | Short name | Test objective | Add test result |
---|---|---|---|
?Short name | ?Test objective | template=test-case-query | default=No articles found in Category:Test cases
}} |
Network
{{#ask: Test category::NetworkTest case | Short name | Test objective | Add test result |
---|---|---|---|
?Short name | ?Test objective | template=test-case-query | default=No articles found in Category:Test cases
}} |
Peripherals
{{#ask: Test category::PeripheralsTest case | Short name | Test objective | Add test result |
---|---|---|---|
?Short name | ?Test objective | template=test-case-query | default=No articles found in Category:Test cases
}} |
SugarUI
{{#ask: Test category::SugarUITest case | Short name | Test objective | Add test result |
---|---|---|---|
?Short name | ?Test objective | template=test-case-query | default=No articles found in Category:Test cases
}} |
Sugar Control Panel
{{#ask: Test category::SugarControlPanelTest case | Short name | Test objective | Add test result |
---|---|---|---|
?Short name | ?Test objective | template=test-case-query | default=No articles found in Category:Test cases
}} |
Upgrades
Test category::UpgradesTest case | Short name | Test objective | Add test result |
---|---|---|---|
?Short name | ?Test objective | template=test-case-query | default=No articles found in Category:Test cases}} |
School Server, XS
{{#ask: Test category::XSTest case | Short name | Test objective | Add test result |
---|---|---|---|
?Short name | ?Test objective | template=test-case-query | default=No articles found in Category:Test cases
}} |
Internationalization (I18N)
{{#ask: Test category::I18NTest case | Short name | Test objective | Add test result |
---|---|---|---|
?Short name | ?Test objective | template=test-case-query | default=No articles found in Category:Test cases
}} |
Smoke Test
{{#ask: Test category::SmokeTestTest case | Short name | Test objective | Add test result |
---|---|---|---|
?Short name | ?Test objective | template=test-case-query | default=No articles found in Category:Test cases
}} |
Other Test Cases
{{#ask: Test category::otherTest case | Short name | Test objective | Add test result |
---|---|---|---|
?Short name | ?Test objective | template=test-case-query | default=No articles found in Category:Test cases
}} |
Other queries
(Edit a section to see its query's syntax.)
For other examples of queries, see Other TestCase Queries, Testcase Query Examples, and comments at Semantic MediaWiki#Suggestions_for_test_cases.
General (older) test cases
This is a list of test cases that existed before the test case template. Once these have been moved into the template, this section can go away.
- Tests/Home view
- Tests/100 laptops - update chat, read, and add write, browse, and record
- Battery Results - need new battery life tests for 8.2
- Use Cases
- Testing matrix
- many of the pages in Category:Test Plans, e.g. those named Tests/Activity Name