Tests/Activity/Calculate/BooleanAndLabelTest: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
3. Test invalid inputs.
3. Test invalid inputs.
4. Test valid inputs.
4. Test valid inputs.
|testcase_expectedresults=When we test invalid inputs, we hope the calculate activity should produce error. When we test valid inputs, we hope the activity do well.
|testcase_expectedresults=When we test invalid inputs, we hope the calculate activity should produce error. When we test valid inputs, we hope that the activity do well.
|testcase_comments=The following is the test sequence for testing boolean feature(And, Or, Equal, Not Equal) and creating label:
|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),
input1(true, false, number, invalid), input2(true, false, number, invalid), Boolean operators (&, | , =, !=), label (valid labels, invalid, no labels)

Boolean operators(&,
Base on Pairwise, we use TConfig to count and build 12 test cases. In addition, based on Myer's, we build 3 test cases for invalid inputs for the case sequence.
}}
}}
{{Test results begin}}
{{Test results begin}}
Line 27: Line 28:
|testresult_comments=TestInvalidInputs:
|testresult_comments=TestInvalidInputs:
The invalid inputs for boolean features are letters from a to Z.
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 labells by these invalid values, but once you call these labells, then you can not get the value of these labells 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. We have not do any test on calling label in this test sequence. There are more tests to be needed for it.
The invalid inputs for label name are only symbols(&,
|testresult_date=2009/03/26
|testresult_date=2009/03/26
}}
}}

Revision as of 02:30, 26 March 2009

Test case: Short name::BooleanAndLabelTest
How to report results

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 feature and label of calculate activity doing well or not
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 we test invalid inputs, we hope the calculate activity should produce error. When we test valid inputs, we hope that the activity do well.
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 (&,]]
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 labells by these invalid values, but once you call these labells, then you can not get the value of these labells 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. We have not do any test on calling label in this test sequence. There are more tests to be needed for it.]]

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(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