Tests/Activity/Calculate/BooleanAndLabelTest: Difference between revisions
No edit summary |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
'''This page is obsolete. The information has been merged into[http://wiki.laptop.org/go/Tests/Activity/CalculateTests].''' {{delete}}{{deprecated}} |
|||
{{Test case |
{{Test case |
||
|testcase_name=BooleanAndLabelTest |
|testcase_name=BooleanAndLabelTest |
||
Line 7: | Line 9: | ||
|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 |
|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 |
||
|testcase_procedure=1. Open the XO machine |
|testcase_procedure=1. Open the XO machine |
||
2. Run the calculate activity on XO machine |
2. Run the calculate activity on XO machine |
||
3. Test invalid inputs |
3. Test invalid inputs |
||
4. Test valid inputs |
4. Test valid inputs |
||
|testcase_expectedresults=When |
|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: |
|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), |
||
Line 20: | Line 25: | ||
label (valid labels, invalid, no labels) |
label (valid labels, invalid, no labels) |
||
Based on Pairwise, we use TConfig to count and produce 12 test cases |
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 begin}} |
||
Line 29: | Line 34: | ||
|testresult_passfail=Pass |
|testresult_passfail=Pass |
||
|testresult_comments=TestInvalidInputs: |
|testresult_comments=TestInvalidInputs: |
||
The invalid inputs for boolean features are letters from a to |
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 |
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 |
|testresult_date=2009/03/26 |
||
}} |
}} |
||
Line 39: | Line 44: | ||
|testresult_passfail=Pass |
|testresult_passfail=Pass |
||
|testresult_comments=TestValidInputs: |
|testresult_comments=TestValidInputs: |
||
The valid inputs for boolean feature are numbers(1,2,...) and truth value(true, false). |
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. |
The valid inputs for label name are letters or combination of letters and numbers. |
||
|testresult_date=2009/03/26 |
|testresult_date=2009/03/26 |
Latest revision as of 00:57, 10 March 2012
This page is obsolete. The information has been merged into[1].
![]() |
A request has been made for this page to be deleted. If you disagree with its deletion, please explain why on its talk page. Before deleting verify that no links will break. |
|