Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Test Cases and Test Suites C++

Test Cases and Test Suites C++

Ratings: (0)|Views: 507|Likes:
Published by technofreak9
Test cases and test suites of a C++ program done in CSCI222
Test cases and test suites of a C++ program done in CSCI222

More info:

categoriesTypes, School Work
Published by: technofreak9 on May 26, 2010
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less





Huzeifa Karachiwala 3544436
CSCI222 –Systems Development
Assignment 3 
Test Report
Software testing is performed by developers and testers to diminish the bug and faults in asystem and make it ready for deployment among businesses. It skillfully puts the quality ofthe product under test.Testing software is the process of executing test cases among the use cases and functionswith the intent of finding bugs.The software tests are carried out so that it can be verified and approved for implementation,and can be used tovalidate the technical requirements and work as it was supposed towork.
1.1. Goals and objectives:
Overall goals and objectives of the test process are described.The overall goal and objective of performing the following test cases on the various classesand functions of the programs is to keep it bug-free and also to keep a check on qualitycontrol of the system during the deployment phase.It is important to have a system without any errors or bugs. Hence, it needs to be testediteratively for each function by applying a test case on it.The system is put under a series of tests, as it is easy to adapt to change requirements inthe future.
1.2. Statement of scope
Main purpose for testing out a system is to detect software failures, so that they can bedebugged and revised. Testing is done to see that a product functions accordingly under agiven set of conditions.The system is tested out to see whether it does what it’s meant to do by keeping in mind itsconstraints and various requirements.
1.3. Majorconstraints
business or technical constraints that will impact the manner in which the software is to betested are noted here.The major constraints are:
Needs to be run on a physical device –such as a phone.
Voice input needed.
System will only use thedata stored in the database.
System doesn’t need any new infrastructure, it is feasible to run it on the existinginfrastructure.
Huzeifa Karachiwala 3544436
2.Test Plan2.1. Software to be tested
The software being tested is a Voice Mail System.The main use case of this system permits the actor to dial an extension to reach a voicemailand enter a message.The other actor is the owner of the mailbox.He/She has the option to Login to the Mailbox by entering a user-defined passcode, andretrieve all the messages sent to his/her mailbox. The actor has the options of listening tothe message, saving the message and deleting the message.The user also has an option of changing the Greeting Message on the Mailbox, and has theoption of changing the passcode used to enter the mailbox.
2.2. Testing Strategy2.2.1. Unit Testing
Unit tests are carried out on the main use cases of the system.The use cases of the system are:
Reach an Extension
Leave a Message
Log In
Retrieve Message
Saving a Message
Change the Greeting
Hang up before confirmation
Change the passcode
2.2.2. Integration Testing
Integration tests are carried out on the unit tests by combining them into test suites.It is an important phase of testing, as the whole system is tested to check for integrity andstability betweenthe different use cases and functions.
2.2.3. Validation Testing
Validation testing is the test for conforming the C++ code to the ANSO/ISO Standard. If thecode passes all the criterias set by the standards, it is validated with an ANSO/ISOcertificate. This improves the software quality and reliability, and helps gaina huge businessshare in the market.
Huzeifa Karachiwala 3544436
2.3. Testing Tools and Environment
The Development Environment used is Microsoft Visual Studio 2008 which includes theoption of including unit testcases in the system. The Visual C++ test tool is an inbuilt plug-inin Microsoft Visual Studio 2008.
2.4. Test Schedule
Each test depends on the number of functional and non-functional requirements from theusers side and the systems side.It can then bejudged as to have much time can be devotedto each unit test and integration test. Testing always begins with Unit Tests, and theniteratively goes on to Integration Testing and Validation Testing.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->