Pair Programming (III)

Source: Internet
Author: User

Project requirements:

Construct the program, respectively:

Fault cannot be triggered.

Triggers the fault, but does not trigger the error.

Triggers the error, but does not produce failure.

Pairs of objects: Huang No.: 2013110417 Blog Address: http://www.cnblogs.com/hrrpcy/

Contribution ratio: 1:1

Pair programming Photos:

Analysis: The control conditions for the for loop of code 19 lines i > 0 here should be i>=0, otherwise the element labeled 0 will not be accessed;

1. Fault test cases are not triggered:

str = NULL;

2. Fault triggered but no error triggered

str = "Pictures";

The expectation is 7, and the actual is 7.

3. Error triggered but no trigger failure

str = "We are One";

The expectation is-1, actually also-1

A bit of achievement Study time Newly written lines of code Blog Volume Learn the point of knowledge
First week 6h 0 0 Preliminary understanding of software engineering
Second week 6h 0 1 Understanding Software Engineering
Third week 20K 0 1 Make questionnaires, understand requirements documents
Week Four 6h 15 1 Learn to write requirements documents and pair programming.
Week Five 20K 0 0 Drawing of state diagram and sequence diagram
Week Six 12h 30 0 Write system detailed Design manual
Seventh Week 12h 30 1 Write system detailed Design manual
Eighth Week 20K 10 1 Learning Software Testing

Pair Programming (III)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.