Tests/Activity/Calculate/BooleanAndLabelTest: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
|testcase_component=Calculate |
|testcase_component=Calculate |
||
|testcase_feature=http://wiki.laptop.org/go/Calculate |
|testcase_feature=http://wiki.laptop.org/go/Calculate |
||
|testcase_objective=Test the boolean and the label features for the Calculate activity |
|testcase_objective=Test the boolean and the label features for the Calculate activity |
||
|testcase_tools=n/a |
|testcase_tools=n/a |
||
|testcase_setup=n/a |
|testcase_setup=n/a |
Revision as of 23:40, 29 March 2009
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
|