Tests/Activity/CalculateTests: Difference between revisions
mNo edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 155: | Line 155: | ||
{{Test results begin}} |
{{Test results begin}} |
||
{{Test results end}} |
{{Test results end}} |
||
--[[User:Pancake Batter|Pancake Batter]] 23:53, 9 March 2012 (UTC) |
|||
Line 224: | Line 223: | ||
|testcase_comments=test has passed. |
|testcase_comments=test has passed. |
||
}} |
|||
{{Test results begin}} |
|||
{{Test results end}} |
|||
== Calculate Tan Test == |
|||
{{Test case |
|||
|testcase_name=tan |
|||
|testcase_category=Activity |
|||
|testcase_subcategory=calculate |
|||
|testcase_component=numbers |
|||
|testcase_feature=http://wiki.laptop.org/go/Calculate |
|||
|testcase_objective=passed |
|||
|testcase_tools=calculator and numbers |
|||
|testcase_procedure=1. turn on the calculator. |
|||
2. click on number 1. |
|||
3. click on tan button. |
|||
4. click on = button. |
|||
|testcase_expectedresults=number 1.5574 |
|||
|testcase_comments=test has passed. |
|||
}} |
|||
{{Test results begin}} |
|||
{{Test results end}} |
|||
== Calculate Multiplication Test == |
|||
{{Test case |
|||
|testcase_name=multiplication |
|||
|testcase_category=Activity |
|||
|testcase_subcategory=calculate |
|||
|testcase_component=numbers |
|||
|testcase_feature=http://wiki.laptop.org/go/Calculate |
|||
|testcase_objective=passed |
|||
|testcase_tools=calculator and numbers |
|||
|testcase_procedure=1. turn on the calculator. |
|||
2. click on 2 button. |
|||
3. click on * button. |
|||
4. click on 3 button. |
|||
5. click on = button. |
|||
|testcase_expectedresults=number 6. |
|||
|testcase_comments=test has passed. |
|||
}} |
|||
{{Test results begin}} |
|||
{{Test results end}} |
|||
== Calculate Cube Test == |
|||
{{Test case |
|||
|testcase_name=cube |
|||
|testcase_category=Activity |
|||
|testcase_subcategory=calculate |
|||
|testcase_component=numbers |
|||
|testcase_feature=http://wiki.laptop.org/go/Calculate |
|||
|testcase_objective=passed |
|||
|testcase_tools=calculator and numbers |
|||
|testcase_procedure=1. turn on the calculator. |
|||
2. click on 2 button. |
|||
3. click on x^3 button. |
|||
4. click on = button. |
|||
|testcase_expectedresults=number 8. |
|||
|testcase_comments=test has passed. |
|||
}} |
|||
{{Test results begin}} |
|||
{{Test results end}} |
|||
== Calculate Addition Test == |
|||
{{Test case |
|||
|testcase_name=addition |
|||
|testcase_category=Activity |
|||
|testcase_subcategory=addition |
|||
|testcase_component=calculator and numbers |
|||
|testcase_feature=http://wiki.laptop.org/go/Calculate |
|||
|testcase_objective=addition of numbers |
|||
|testcase_tools=calculator and numbers |
|||
|testcase_procedure=1. turn on the calculator. |
|||
2. click on 1 button. |
|||
3. click on + button. |
|||
4. click on 2 button. |
|||
5. click on = button |
|||
|testcase_expectedresults=number 3. |
|||
|testcase_comments=test has passed. |
|||
}} |
|||
{{Test results begin}} |
|||
{{Test results end}} |
|||
== Calculate SinCos Test == |
|||
{{Test case |
|||
|testcase_name=sincos |
|||
|testcase_category=Activity |
|||
|testcase_subcategory=calculate |
|||
|testcase_component=numbers |
|||
|testcase_feature=http://wiki.laptop.org/go/Calculate |
|||
|testcase_objective=passed |
|||
|testcase_tools=calculator and numbers |
|||
|testcase_procedure=1. turn on the calculator. |
|||
2. type sin(cos(1)). |
|||
3. click on = button or ans button. |
|||
|testcase_expectedresults=number 0.5143. |
|||
|testcase_comments=test has passed. |
|||
}} |
|||
{{Test results begin}} |
|||
{{Test results end}} |
|||
== Calculate Cos Test == |
|||
{{Test case |
|||
|testcase_name=cos |
|||
|testcase_category=Activity |
|||
|testcase_subcategory=calculate |
|||
|testcase_component=numbers |
|||
|testcase_feature=http://wiki.laptop.org/go/Calculate |
|||
|testcase_objective=passed |
|||
|testcase_tools=calculator an dnumbers |
|||
|testcase_procedure=1. turn on the calculator. |
|||
2. click on number 2. |
|||
3. click on cos button. |
|||
4. click on = button. |
|||
|testcase_expectedresults=number 0.5403 |
|||
|testcase_comments=test has passed. |
|||
}} |
|||
{{Test results begin}} |
|||
{{Test results |
|||
|testresult_passfail=Pass |
|||
|testresult_comments=alsdfjasjsadlfksaflsdfkaslfdds |
|||
}} |
|||
{{Test results end}} |
|||
== Calculate Algebra and Constant Test == |
|||
{{Test case |
|||
|testcase_name=AlgebraAndConstantTest |
|||
|testcase_category=Activity |
|||
|testcase_subcategory=Calculate |
|||
|testcase_stream=8.2 |
|||
|testcase_build=10 |
|||
|testcase_component=Calculate |
|||
|testcase_feature=http://wiki.laptop.org/go/Calculate |
|||
|testcase_objective=Test three functions for the algebra feature, also test the constants of the Calculate activity |
|||
|testcase_tools=n/a |
|||
|testcase_setup=n/a |
|||
|testcase_procedure=1. Open the XO machine |
|||
2. Run the Calculate Activity on XO machine |
|||
3. Test invalid inputs for algebra operation |
|||
4. Test valid inputs for algebra operation. Constants are checked and used as valid inputs. |
|||
|testcase_expectedresults=When using invalid inputs like letters, it is expected that the tests to fail by informing the user with an error message. |
|||
When using valid inputs, it is expected that the tests will pass by returning the correct values. |
|||
|testcase_comments=The following is the test suite for algebra and constant test: |
|||
inputs(invalid, int, double, constants), sign(+,-), algebra(x!,x^2,root(x)) |
|||
Base on Pairwise, we count and build 9 test cases, and 1 test case by Myer's. |
|||
We check the constants(pi, e) and use it by putting them as input values. We just test three of algebra operations, which are x!, x^2, root(x).More tests are needed to cover the other functions of the algebra feature. |
|||
}} |
|||
{{Test results begin}} |
|||
{{Test results |
|||
|testresult_release=Candidate |
|||
|testresult_stream=8.2 |
|||
|testresult_build=1 |
|||
|testresult_passfail=Pass |
|||
|testresult_comments=TestInvalidInputs: |
|||
We can not input letters(a-Z) to do algebra operation. |
|||
|testresult_date=2009/03/26 |
|||
}} |
|||
{{Test results |
|||
|testresult_release=Candidate |
|||
|testresult_stream=8.2 |
|||
|testresult_build=9 |
|||
|testresult_passfail=Pass |
|||
|testresult_comments=TestValidInputs: |
|||
When the input number is negative, root(x) of algebra operation produce error as expected. |
|||
When a double input is used for x!, the result is zero. |
|||
|testresult_date=2009/03/26 |
|||
}} |
|||
{{Test results end}} |
|||
== Boolean and Label Test == |
|||
{{Test case |
|||
|testcase_name=BooleanAndLabelTest |
|||
|testcase_category=Activity |
|||
|testcase_subcategory=Calculate |
|||
|testcase_stream=8.2 |
|||
|testcase_build=15 |
|||
|testcase_component=Calculate |
|||
|testcase_feature=http://wiki.laptop.org/go/Calculate |
|||
|testcase_objective=Test the boolean and the label features for the Calculate activity |
|||
|testcase_tools=n/a |
|||
|testcase_setup=n/a |
|||
|testcase_procedure=1. Open the XO machine |
|||
2. Run the calculate activity on XO machine |
|||
3. Test invalid inputs |
|||
4. Test valid inputs |
|||
|testcase_expectedresults=When testing invalid inputs, it was expected that tests will fail by informing the user by an error message. |
|||
When testing valid inputs, it was expected that tests will pass returning the correct values. |
|||
|testcase_comments=The following is the test sequence for testing boolean feature(And, Or, Equal, Not Equal) and creating label: |
|||
input1(true, false, number, invalid), input2(true, false, number, invalid), |
|||
boolean operators (AND(&), OR , EQUAL(=), NOT EQUAL(!=)), |
|||
label (valid labels, invalid, no labels) |
|||
Based on Pairwise, we use TConfig to count and produce 12 test cases. In addition, based on Myer's, we build 3 test cases for invalid inputs for the test suite. |
|||
}} |
|||
{{Test results begin}} |
|||
{{Test results |
|||
|testresult_release=Candidate |
|||
|testresult_stream=8.2 |
|||
|testresult_build=3 |
|||
|testresult_passfail=Pass |
|||
|testresult_comments=TestInvalidInputs: |
|||
The invalid inputs for boolean features are letters from a to z. |
|||
The invalid inputs for label name are only symbols(&,+,=,and so on), numbers(1,2,...), and truth value(true, false). We can name labels by these invalid values, but once you call these labels, then we can not get the value of these labels stand for. The calculation still work out, but the result is not right as you expect to get. We think here is a bug for label.However, We have not done any test for calling invalid label in this test suite. Therefore, more tests are needed. |
|||
|testresult_date=2009/03/26 |
|||
}} |
|||
{{Test results |
|||
|testresult_release=Candidate |
|||
|testresult_stream=8.2 |
|||
|testresult_build=12 |
|||
|testresult_passfail=Pass |
|||
|testresult_comments=TestValidInputs: |
|||
The valid inputs for boolean feature are numbers(0,1,2,...) and truth value(true, false). |
|||
The valid inputs for label name are letters or combination of letters and numbers. |
|||
|testresult_date=2009/03/26 |
|||
}} |
|||
{{Test results end}} |
|||
== Calculate Four Arithmetic Operations Tests == |
|||
{{Test case |
|||
|testcase_name=FourArithmeticOperationsTest |
|||
|testcase_category=Activity |
|||
|testcase_subcategory=Calculate |
|||
|testcase_stream=8.2 |
|||
|testcase_component=Calculate |
|||
|testcase_feature=http://wiki.laptop.org/go/Calculate |
|||
|testcase_objective=Test the calculate activity basic functionalities |
|||
|testcase_tools=n/a |
|||
|testcase_setup=n/a |
|||
|testcase_procedure=1. Open the XO machine. |
|||
2. Run the Calculate Activity on XO machine. |
|||
3. Test invalid inputs for the four arithmetic operations. |
|||
4. Test valid inputs for the four arithmetic operations. |
|||
|testcase_expectedresults=1. When testing the invalid inputs, it is expected that tests will fail by returning some error message telling the user what went wrong. |
|||
2. When testing the valid inputs, it is expected that tests will pass by returning the right value. |
|||
|testcase_comments=The following is the case sequence to test the four arithmetic operations(addition, subtract, multiply, division ): |
|||
''input1(pos, neg, 0, invalid(a-z)), input2(pos, neg, 0, invalid(a-z)) ,operations(+,-,*,/)'' |
|||
We build 12 test cases using pairwise method and 2 test cases using Myer's method. |
|||
}} |
|||
{{Test results begin}} |
|||
{{Test results |
|||
|testresult_release=Candidate |
|||
|testresult_stream=8.2 |
|||
|testresult_build=2 |
|||
|testresult_passfail=Pass |
|||
|testresult_comments=TestInvalidInputs: |
|||
When we test by inputting the invalid variables, we expect that the calculation should not work. For example, when input1 is a, and input2 is 1, then the calculation should not work out for a + 1. |
|||
The invalid inputs values are from a to z. |
|||
|testresult_date=2009/03/26 |
|||
}} |
|||
{{Test results |
|||
|testresult_release=Candidate |
|||
|testresult_stream=8.2 |
|||
|testresult_build=12 |
|||
|testresult_passfail=Pass |
|||
|testresult_comments=TestValidInputs: |
|||
The valid inputs values are numbers, and truth values(true and false). However, we just tested numbers as the inputs for the test cases. We do need more tests to verity truth values for the four arithmetic operations. |
|||
|testresult_date=2009/03/26 |
|||
}} |
|||
{{Test results end}} |
|||
== Calculate Sin Test == |
|||
{{Test case |
|||
|testcase_name=sin |
|||
|testcase_category=Activity |
|||
|testcase_subcategory=calculate |
|||
|testcase_component=numbers |
|||
|testcase_feature=http://wiki.laptop.org/go/Calculate |
|||
|testcase_objective=passed |
|||
|testcase_tools=calculator and numbers |
|||
|testcase_procedure=1. turn on the calculator. |
|||
2. click on number 1. |
|||
3. click on sin button. |
|||
4.click on = button. |
|||
|testcase_expectedresults=number 0.8414 |
|||
|testcase_comments=test has passed. |
|||
}} |
|||
{{Test results begin}} |
|||
{{Test results end}} |
|||
== Calculate Division Test == |
|||
{{Test case |
|||
|testcase_name=division |
|||
|testcase_category=Activity |
|||
|testcase_subcategory=calculate |
|||
|testcase_component=numbers |
|||
|testcase_feature=http://wiki.laptop.org/go/Calculate |
|||
|testcase_objective=passed |
|||
|testcase_tools=calculator and numbers |
|||
|testcase_procedure=1. turn on the calculator. |
|||
2. click on 6 button. |
|||
3. click on / button. |
|||
4. click on 2 button. |
|||
5. click on = button. |
|||
|testcase_expectedresults=number 3. |
|||
|testcase_comments=test has passed. |
|||
}} |
|||
{{Test results begin}} |
|||
{{Test results end}} |
|||
== Calculate Square Root Test == |
|||
{{Test case |
|||
|testcase_name=squareroot |
|||
|testcase_category=Activity |
|||
|testcase_subcategory=calculate |
|||
|testcase_component=numbers |
|||
|testcase_feature=http://wiki.laptop.org/go/Calculate |
|||
|testcase_objective=passed |
|||
|testcase_tools=calculater and numbers |
|||
|testcase_procedure=1. turn on the calculator. |
|||
2. click on number 1. |
|||
3. click on number 6. |
|||
4. click on square root button. |
|||
5. click on = button. |
|||
|testcase_expectedresults=number 4. |
|||
|testcase_comments=test has passed. |
|||
}} |
|||
{{Test results begin}} |
|||
{{Test results end}} |
|||
== Calculate Turn Off Test == |
|||
{{Test case |
|||
|testcase_name=turnoff |
|||
|testcase_category=Activity |
|||
|testcase_subcategory=calculate |
|||
|testcase_component=numbers |
|||
|testcase_feature=http://wiki.laptop.org/go/Calculate |
|||
|testcase_objective=passed |
|||
|testcase_tools=calculator and numbers |
|||
|testcase_procedure=1. click on the exit button of the calculator application. |
|||
2. check whether the application is off or not. |
|||
|testcase_expectedresults=application is off. |
|||
|testcase_comments=test has passed. |
|||
}} |
}} |
||
{{Test results begin}} |
{{Test results begin}} |
Latest revision as of 01:15, 10 March 2012
This Calculate Tests page is an amalgamation of test of the Calculate feature tests. Most of the tests date from 2009.
Calculate Activity Test
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::Calculate |
Component | System component::Calculate | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::basic activity testing | ||
Tools | Test tools::n/a | ||
Setup | Test setup::n/a | ||
Procedure | [[Test procedure::# Activity installs from download (if not part of default installation) from website or USB key
| ||
Expected Results and Pass Criteria |
Pass criteria:: | ||
Comments | More notes:: |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|---|---|---|---|---|---|
Software release::Candidate | Build stream::8.2 | Build number::760 | PassFail::Pass | ,|x| #x}} | Comments::calculate-24 | Created::
|
Calculate CosSin Test
Test case: Short name::cossin
How to report results
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::calculate |
Component | System component::numbers | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::passed | ||
Tools | Test tools::calculator and numbers | ||
Setup | Test setup:: | ||
Procedure | [[Test procedure::1. turn on the calculator.
2. type cos(sin(1)). 3. click on = button.]] | ||
Expected Results and Pass Criteria |
Pass criteria::number 0.6663 | ||
Comments | More notes::test has passed. |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|
Calculate Plus Test
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::Calculate |
Component | System component::Calculate | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective:: | ||
Tools | Test tools::n/a | ||
Setup | Test setup::n/a | ||
Procedure | [[Test procedure::1. Run the Calculate Activity on XO machine
2. Test invalid inputs for the fours arithmetic operations 3. Test valid inputs for the fours arithmetic operations]] | ||
Expected Results and Pass Criteria |
[[Pass criteria::1. When test the invalid inputs,like letters, the calculation should do not work out.
2. When test the valid inputs, the calculation should work out well, except any number divided by 0 (any number / 0), since it should be undefined for division.]] | ||
Comments | [[More notes::The following is the case sequence to test the four arithmetic operations(addition, subtract, multiply, division ):
input1 (pos, neg, 0, invalid(a-z)), input2 (pos, neg, 0, invalid(a-z)) ,operations(+,-,*,/) We build 14 tests for this test case by pairwise.]] |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|---|---|---|---|---|---|
Software release::Candidate | Build stream::8.2 | Build number::2 | PassFail::Pass | ,|x| #x}} | [[Comments::TestInvalidInputs:
When we test by inputing the invalid variables, we expect that the calculation should not do. For example, when input1 is a, and input2 is 1, then the calculation should do not work out for a + 1. The invalid inputs values are from a to Z.]] |
Created::2009/03/26
|
Software release::Candidate | Build stream::8.2 | Build number::12 | PassFail::Pass | ,|x| #x}} | [[Comments::TestValidInputs:
The valid inputs values are numbers, and truth values(true and false). However, we just test the numbers as the inputs for the test case. We need do more tests to verity truth values for the fours arithmetic operations.]] |
Created::2009/03/26
|
Calculate Square Test
Test case: Short name::square
How to report results
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::calculate |
Component | System component::numbers | ||
Feature | System feature::Tests/Activity/Calculate/SquareTest | ||
Objective | Test objective::passed | ||
Tools | Test tools::calculater and numbers | ||
Setup | Test setup:: | ||
Procedure | [[Test procedure::#turn on the calculator.
| ||
Expected Results and Pass Criteria |
Pass criteria::number 4. | ||
Comments | More notes::test has passed. |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|---|---|---|---|---|---|
Software release::7.1.0 (650) | Build stream::joyride | Build number:: | PassFail::Pass | ,|x| #x}} | Comments:: | Created::
|
Calculate Clear Test
Test case: Short name::clear
How to report results
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::calculate |
Component | System component::numbers | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::passed | ||
Tools | Test tools::calculator and numbers | ||
Setup | Test setup:: | ||
Procedure | [[Test procedure::1. turn on the calculator.
2. click on any number. 3. click on clear button.]] | ||
Expected Results and Pass Criteria |
Pass criteria::screen is clear. | ||
Comments | More notes::test has passed. |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|
Calculate Log Test
Test case: Short name::log
How to report results
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::calculate |
Component | System component::numbers | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::passed | ||
Tools | Test tools::calculator and numbers | ||
Setup | Test setup:: | ||
Procedure | [[Test procedure::1. turn on the calculator.
2. click on 2 button. 3. click on log button. 4. click on = button.]] | ||
Expected Results and Pass Criteria |
Pass criteria::number 0.3010 | ||
Comments | More notes::test has passed. |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|
Calculate Subtraction Tests
Test case: Short name::subtraction
How to report results
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::calculate |
Component | System component::numbers | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::passed | ||
Tools | Test tools::calculator and numbers | ||
Setup | Test setup:: | ||
Procedure | [[Test procedure::1. turn on the calculator.
2. click on number 5. 3. click on - button. 4. click on number 2. 5. click on = button.]] | ||
Expected Results and Pass Criteria |
Pass criteria::number 2. | ||
Comments | More notes::test has passed. |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|
Calculate Turn On Test
Test case: Short name::turnon
How to report results
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::calculate |
Component | System component::numbers | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::passed | ||
Tools | Test tools::calculator and numbers | ||
Setup | Test setup:: | ||
Procedure | [[Test procedure::1. click on the calculator icon on the desktop of OLPC laptop.
2. check whether application is opening or not. 3. type some numbers on the screen.]] | ||
Expected Results and Pass Criteria |
Pass criteria::calculator screen is open. | ||
Comments | More notes::test has passed. |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|
Calculate Tan Test
Test case: Short name::tan
How to report results
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::calculate |
Component | System component::numbers | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::passed | ||
Tools | Test tools::calculator and numbers | ||
Setup | Test setup:: | ||
Procedure | [[Test procedure::1. turn on the calculator.
2. click on number 1. 3. click on tan button. 4. click on = button.]] | ||
Expected Results and Pass Criteria |
Pass criteria::number 1.5574 | ||
Comments | More notes::test has passed. |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|
Calculate Multiplication Test
Test case: Short name::multiplication
How to report results
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::calculate |
Component | System component::numbers | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::passed | ||
Tools | Test tools::calculator and numbers | ||
Setup | Test setup:: | ||
Procedure | [[Test procedure::1. turn on the calculator.
2. click on 2 button. 3. click on * button. 4. click on 3 button. 5. click on = button.]] | ||
Expected Results and Pass Criteria |
Pass criteria::number 6. | ||
Comments | More notes::test has passed. |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|
Calculate Cube Test
Test case: Short name::cube
How to report results
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::calculate |
Component | System component::numbers | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::passed | ||
Tools | Test tools::calculator and numbers | ||
Setup | Test setup:: | ||
Procedure | [[Test procedure::1. turn on the calculator.
2. click on 2 button. 3. click on x^3 button. 4. click on = button.]] | ||
Expected Results and Pass Criteria |
Pass criteria::number 8. | ||
Comments | More notes::test has passed. |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|
Calculate Addition Test
Test case: Short name::addition
How to report results
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::addition |
Component | System component::calculator and numbers | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::addition of numbers | ||
Tools | Test tools::calculator and numbers | ||
Setup | Test setup:: | ||
Procedure | [[Test procedure::1. turn on the calculator.
2. click on 1 button. 3. click on + button. 4. click on 2 button. 5. click on = button]] | ||
Expected Results and Pass Criteria |
Pass criteria::number 3. | ||
Comments | More notes::test has passed. |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|
Calculate SinCos Test
Test case: Short name::sincos
How to report results
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::calculate |
Component | System component::numbers | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::passed | ||
Tools | Test tools::calculator and numbers | ||
Setup | Test setup:: | ||
Procedure | [[Test procedure::1. turn on the calculator.
2. type sin(cos(1)). 3. click on = button or ans button.]] | ||
Expected Results and Pass Criteria |
Pass criteria::number 0.5143. | ||
Comments | More notes::test has passed. |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|
Calculate Cos Test
Test case: Short name::cos
How to report results
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::calculate |
Component | System component::numbers | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::passed | ||
Tools | Test tools::calculator an dnumbers | ||
Setup | Test setup:: | ||
Procedure | [[Test procedure::1. turn on the calculator.
2. click on number 2. 3. click on cos button. 4. click on = button.]] | ||
Expected Results and Pass Criteria |
Pass criteria::number 0.5403 | ||
Comments | More notes::test has passed. |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|---|---|---|---|---|---|
Software release:: | Build stream:: | Build number:: | PassFail::Pass | ,|x| #x}} | Comments::alsdfjasjsadlfksaflsdfkaslfdds | Created::
|
Calculate Algebra and Constant Test
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::Calculate |
Component | System component::Calculate | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::Test three functions for the algebra feature, also test the constants of the Calculate activity | ||
Tools | Test tools::n/a | ||
Setup | Test setup::n/a | ||
Procedure | [[Test procedure::1. Open the XO machine
2. Run the Calculate Activity on XO machine 3. Test invalid inputs for algebra operation 4. Test valid inputs for algebra operation. Constants are checked and used as valid inputs.]] | ||
Expected Results and Pass Criteria |
[[Pass criteria::When using invalid inputs like letters, it is expected that the tests to fail by informing the user with an error message.
When using valid inputs, it is expected that the tests will pass by returning the correct values.]] | ||
Comments | [[More notes::The following is the test suite for algebra and constant test:
inputs(invalid, int, double, constants), sign(+,-), algebra(x!,x^2,root(x)) Base on Pairwise, we count and build 9 test cases, and 1 test case by Myer's. We check the constants(pi, e) and use it by putting them as input values. We just test three of algebra operations, which are x!, x^2, root(x).More tests are needed to cover the other functions of the algebra feature.]] |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|---|---|---|---|---|---|
Software release::Candidate | Build stream::8.2 | Build number::1 | PassFail::Pass | ,|x| #x}} | [[Comments::TestInvalidInputs:
We can not input letters(a-Z) to do algebra operation.]] |
Created::2009/03/26
|
Software release::Candidate | Build stream::8.2 | Build number::9 | PassFail::Pass | ,|x| #x}} | [[Comments::TestValidInputs:
When the input number is negative, root(x) of algebra operation produce error as expected. When a double input is used for x!, the result is zero.]] |
Created::2009/03/26
|
Boolean and Label Test
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::Calculate |
Component | System component::Calculate | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::Test the boolean and the label features for the Calculate activity | ||
Tools | Test tools::n/a | ||
Setup | Test setup::n/a | ||
Procedure | [[Test procedure::1. Open the XO machine
2. Run the calculate activity on XO machine 3. Test invalid inputs 4. Test valid inputs]] | ||
Expected Results and Pass Criteria |
[[Pass criteria::When testing invalid inputs, it was expected that tests will fail by informing the user by an error message.
When testing valid inputs, it was expected that tests will pass returning the correct values.]] | ||
Comments | [[More notes::The following is the test sequence for testing boolean feature(And, Or, Equal, Not Equal) and creating label:
input1(true, false, number, invalid), input2(true, false, number, invalid), boolean operators (AND(&), OR , EQUAL(=), NOT EQUAL(!=)), label (valid labels, invalid, no labels) Based on Pairwise, we use TConfig to count and produce 12 test cases. In addition, based on Myer's, we build 3 test cases for invalid inputs for the test suite.]] |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|---|---|---|---|---|---|
Software release::Candidate | Build stream::8.2 | Build number::3 | PassFail::Pass | ,|x| #x}} | [[Comments::TestInvalidInputs:
The invalid inputs for boolean features are letters from a to z. The invalid inputs for label name are only symbols(&,+,=,and so on), numbers(1,2,...), and truth value(true, false). We can name labels by these invalid values, but once you call these labels, then we can not get the value of these labels stand for. The calculation still work out, but the result is not right as you expect to get. We think here is a bug for label.However, We have not done any test for calling invalid label in this test suite. Therefore, more tests are needed.]] |
Created::2009/03/26
|
Software release::Candidate | Build stream::8.2 | Build number::12 | PassFail::Pass | ,|x| #x}} | [[Comments::TestValidInputs:
The valid inputs for boolean feature are numbers(0,1,2,...) and truth value(true, false). The valid inputs for label name are letters or combination of letters and numbers.]] |
Created::2009/03/26
|
Calculate Four Arithmetic Operations Tests
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::Calculate |
Component | System component::Calculate | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::Test the calculate activity basic functionalities | ||
Tools | Test tools::n/a | ||
Setup | Test setup::n/a | ||
Procedure | [[Test procedure::1. Open the XO machine.
2. Run the Calculate Activity on XO machine. 3. Test invalid inputs for the four arithmetic operations. 4. Test valid inputs for the four arithmetic operations.]] | ||
Expected Results and Pass Criteria |
[[Pass criteria::1. When testing the invalid inputs, it is expected that tests will fail by returning some error message telling the user what went wrong.
2. When testing the valid inputs, it is expected that tests will pass by returning the right value.]] | ||
Comments | [[More notes::The following is the case sequence to test the four arithmetic operations(addition, subtract, multiply, division ):
input1(pos, neg, 0, invalid(a-z)), input2(pos, neg, 0, invalid(a-z)) ,operations(+,-,*,/) We build 12 test cases using pairwise method and 2 test cases using Myer's method.]] |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|---|---|---|---|---|---|
Software release::Candidate | Build stream::8.2 | Build number::2 | PassFail::Pass | ,|x| #x}} | [[Comments::TestInvalidInputs:
When we test by inputting the invalid variables, we expect that the calculation should not work. For example, when input1 is a, and input2 is 1, then the calculation should not work out for a + 1. The invalid inputs values are from a to z.]] |
Created::2009/03/26
|
Software release::Candidate | Build stream::8.2 | Build number::12 | PassFail::Pass | ,|x| #x}} | [[Comments::TestValidInputs:
The valid inputs values are numbers, and truth values(true and false). However, we just tested numbers as the inputs for the test cases. We do need more tests to verity truth values for the four arithmetic operations.]] |
Created::2009/03/26
|
Calculate Sin Test
Test case: Short name::sin
How to report results
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::calculate |
Component | System component::numbers | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::passed | ||
Tools | Test tools::calculator and numbers | ||
Setup | Test setup:: | ||
Procedure | [[Test procedure::1. turn on the calculator.
2. click on number 1. 3. click on sin button. 4.click on = button.]] | ||
Expected Results and Pass Criteria |
Pass criteria::number 0.8414 | ||
Comments | More notes::test has passed. |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|
Calculate Division Test
Test case: Short name::division
How to report results
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::calculate |
Component | System component::numbers | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::passed | ||
Tools | Test tools::calculator and numbers | ||
Setup | Test setup:: | ||
Procedure | [[Test procedure::1. turn on the calculator.
2. click on 6 button. 3. click on / button. 4. click on 2 button. 5. click on = button.]] | ||
Expected Results and Pass Criteria |
Pass criteria::number 3. | ||
Comments | More notes::test has passed. |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|
== Calculate Square Root Test ==
Test case: Short name::squareroot
How to report results
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::calculate |
Component | System component::numbers | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::passed | ||
Tools | Test tools::calculater and numbers | ||
Setup | Test setup:: | ||
Procedure | [[Test procedure::1. turn on the calculator.
2. click on number 1. 3. click on number 6. 4. click on square root button. 5. click on = button.]] | ||
Expected Results and Pass Criteria |
Pass criteria::number 4. | ||
Comments | More notes::test has passed. |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|
Calculate Turn Off Test
Test case: Short name::turnoff
How to report results
Stream | ,|x|Build stream::x}} | ||
---|---|---|---|
Category | Test category::Activity | Sub-category | Test subcategory::calculate |
Component | System component::numbers | ||
Feature | System feature::http://wiki.laptop.org/go/Calculate | ||
Objective | Test objective::passed | ||
Tools | Test tools::calculator and numbers | ||
Setup | Test setup:: | ||
Procedure | [[Test procedure::1. click on the exit button of the calculator application.
2. check whether the application is off or not.]] | ||
Expected Results and Pass Criteria |
Pass criteria::application is off. | ||
Comments | More notes::test has passed. |
Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
---|