Tests/Activity/Calculate/BooleanAndLabelTest

From OLPC

Jump to: navigation, search

This page is obsolete. The information has been merged into[1].

  Image:Trashcan.png 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.
Stop hand.png WARNING:
The content of this section is considered
DEPRECATED and OBSOLETE
It is preserved for historical or documenting reasons.


Test case: BooleanAndLabelTest
How to report results

Stream 8.2
Category Activity Sub-category Calculate
Component Calculate
Feature http://wiki.laptop.org/go/Calculate
Objective Test the boolean and the label features for the Calculate activity
Tools n/a
Setup n/a
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
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 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
Candidate 8.2 3 Pass 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.

2009/03/26


Candidate 8.2 12 Pass 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.

2009/03/26


Facts about Tests/Activity/Calculate/BooleanAndLabelTestRDF feed
Build number 3  +, and 12  +
Build stream 8.2  +info.pngLink to builds in stream, Packages in stream, ChangeLog, Differences vs joyride
Comments TestInvalidInputs:

The invalid inputs for 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. t suite. Therefore, more tests are needed., and 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 26 March 2009  +
More notes The following is the test sequence for tes 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.
ses for invalid inputs for the test suite.
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.
PassFail Pass  +
Short name BooleanAndLabelTest  +
Software release Candidate  +
System component Calculate  +
System feature http://wiki.laptop.org/go/Calculate  +
Test category Activity  +
Test objective Test the boolean and the label features for the Calculate activity  +
Test procedure 1. Open the XO machine

2. Run the calculate activity on XO machine

3. Test invalid inputs

4. Test valid inputs
Test setup n/a
Test subcategory Calculate  +
Test tools n/a  +
Personal tools
  • Log in
  • Login with OpenID
About OLPC
About the laptop
About the tablet
Projects
OLPC wiki
Toolbox
In other languages