Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Notes  >  Chapter : Software Engineering Testing, PPT, Semester, Engineering

Chapter : Software Engineering Testing, PPT, Semester, Engineering - Computer Science Engineering (CSE) PDF Download

Software Engineering
Testing

The Slide Covers :

Testing

Why system testing

Activity network for system testing

Compile/assemble programs

Prepare operational documents

Software Engineering -------------------------------------------------------------------------------- Next Slide

Testing

•No program or system design is perfect communication between the user and the designer is not always complete or clear and time is also short the result is errors
•Number and nature of errors depend upon
•Communication between user and designer
•The programmer ability to generate code that reflect exactly the system specification
•The time frame for the design
In a new design system should have all the piece in working order, but in reality each piece work independently. now is the time to put all pieces in one system and test it to determine whether it meets the user requirement

 

Software Engineering -------------------------------------------------------------------------------- Next Slide

•Unit testing: testing change made in the existing or new program
•Sequential or series testing is checking the logic of one or more programs in candidate system ,where output of one program will affect he processing done by another program
•System testing: is executing a program to check logic change made in it with intension of finding errors
•Positive testing : making sure that new programs do in fact processes certain transaction according to specification
•Acceptance testing : running the system with live data by the actual user

 

Software Engineering -------------------------------------------------------------------------------- Next Slide

Why system testing

•Logical assumption if all part of system are correct, the goal will be successfully achieved
•Inadequate testing or non testing leads to error that may not appear months later this creates 2 problems
–Time lag between cause and appearance of the problem
–The effect of system error on files and records within a system
•Its utility as a user oriented vehicle before implementation

 

Software Engineering -------------------------------------------------------------------------------- Next Slide

What do we test for?

•The first test of a system is to see whether it produces the correct output
–Online response : online system must have a response time that will not cause hardship to the user e.g. input transactions in as many CRT screen as would normally be used in peak hours and time the response to each online function
–Volume : we create as many records as would normally be produced to verify that hardware and software will function correctly user is asked to provide test data
–Stress testing : is to check that candidate system does not malfunction under peak loads i.e. high volume of data over a short time
–Recovery and security: a forced system failure to test a backup recovery procedure for file integrity, inaccurate data are entered to see how the system responds in terms of error detection and protection and demonstrate data and programs are secure from unauthorized access
–Usability documentation and procedure: the usability test verifies the user friendly nature of the system it relates to normal operating and error handling procedure e.g. accurate and complete documentation

 

Software Engineering -------------------------------------------------------------------------------- Next Slide

The nature of test data

•The proper choice of test data is important as the test itself
•Test data can be artificial or live
•Properly created artificial test data should provide combination of values and format and make it possible to test all logic and transaction path subroutines
•For large complex system a computer program is used to generate the necessary test data

 

Software Engineering -------------------------------------------------------------------------------- Next Slide

The test plan

•The first step in system testing is to prepare a plan that will test all aspect of the system
–Programmer do better job in unit testing because they are expected to document and report on method and extent of their testing
–Users are involved , which means communication is improved between user and designer group
–Programmers are involved when they become aware of user problems and expectation . The user also become more aware of complexity of programming and testing. The upshot of all this is a more realistic and cooperative user for successful testing.

 

Software Engineering -------------------------------------------------------------------------------- Next Slide

Activity network for system testing

•Prepare test plan
•Specify conditions for user acceptance testing
•Prepare test data for program testing
•Prepare test data for transaction path testing
•Plan user training
•Compile/assemble programs
•Prepare job performance aids
•Prepare operational documentation

Software Engineering -------------------------------------------------------------------------------- Next Slide

Prepare a test plan

•A workable test plan must be prepared in accordance with established design specifications. It include the following points
–Output expected from the system
–Criteria for evaluating output
–A volume of test data
–Procedure for using test data
–Personnel and training requirements

Software Engineering -------------------------------------------------------------------------------- Next Slide

Specify condition for user acceptance testing

•Planning for user acceptance testing calls for the analyst and the user to agree on the condition for the test.
•Many of these conditions may be derived for the test plan , agreement on the test schedule , test duration , person designated for the test and the start and the termination dates for the test should also be specified in advance

 

Software Engineering -------------------------------------------------------------------------------- Next Slide

Prepare test data for program testing

•As each program is coded , test data are prepared and documented to ensure that all aspects of the program are properly tested . After testing data are properly filed for future reference

 

Software Engineering -------------------------------------------------------------------------------- Next Slide

Prepare test data for transaction path testing

•This activity develops the data required for testing every condition and transaction to be introduced into the system
•The path of each transaction from origin to destination is carefully tested for reliable result
•The test verifies that the test data are virtually comparable to live data .

Software Engineering -------------------------------------------------------------------------------- Next Slide

Plan user training

•User training is designed to prepare the user for testing and converting the system
•User involvement and training takes place parallel with programming
–The system group has time available to spend on training while programs are being written
–User training program gives the system group a clearer image of the user’s interest in the new system
–A trained user participates more effectively in system testing

 

Software Engineering -------------------------------------------------------------------------------- Next Slide

•A checklist is useful for user training
•The training plan is followed by user training manuals and other text materials
•Facility requirement and necessary hardware are specified and documented
•A common procedure is to train supervisor and department heads who in turn train their staff as they see fit for the following reasons
–Supervisor are knowledgeable about the capabilities of staff and overall operations
–Staff members respond more favorably from supervisors then outsiders
–Familiarity of users with their particular problem (bugs) make them better candidates for handling user training than the system analyst. The analyst get feed back to ensure that proper training is provided

 

Software Engineering -------------------------------------------------------------------------------- Next Slide

Compile/assemble programs

•All programs have to be compiled /assembled for testing
•Before this , a complete program description should be available . included is purpose of program , it use , the programmer who prepared it and amount of computer time it takes to run it . Program and system flowchart of the project should also be available for reference.
•In addition to these activities , desk checking the source code uncover programming errors. Before actual program testing , a run order schedule and test schemes are finalized
•A run order schedule specifies the transaction to test and the order in which they should be tested
•High priority transactions that make special demand on the candidate system are tested first
•Test scheme specifies how program software should be debugged
•A common approach called bottom up programming tests small scale program modules which are linked to a higher level module and so on until program is completed

 

Software Engineering -------------------------------------------------------------------------------- Next Slide

Prepare job performance aids

•The material to be used by personnel to run the system are specified and scheduled . This include a display of materials such as program codes , a list of input codes attached to the CRT terminal and a posted instruction schedule to load the disk drive . These aid reduce the training time and employ personnel at lower positions

Software Engineering -------------------------------------------------------------------------------- Next Slide

Prepare operational documents

•During the test plan stage , all operational documents are finalized , including copies of the operational format required by the candidate system
•Related to operational documentation is a section on the experience , training and educational qualification of personnel for proper operation of new system

The document Chapter : Software Engineering Testing, PPT, Semester, Engineering - Computer Science Engineering (CSE) is a part of Computer Science Engineering (CSE) category.
All you need of Computer Science Engineering (CSE) at this link: Computer Science Engineering (CSE)

FAQs on Chapter : Software Engineering Testing, PPT, Semester, Engineering - Computer Science Engineering (CSE)

1. What is software testing?
Ans. Software testing is a process used to evaluate the functionality, quality, and performance of a software application or system. It involves executing the software with the intention of finding bugs, errors, or any other issues that may affect its performance or usability.
2. What are the different types of software testing?
Ans. There are several types of software testing, including: 1. Unit testing: Testing individual components or modules of the software. 2. Integration testing: Testing the integration of different components to ensure they work together correctly. 3. System testing: Testing the entire system as a whole to verify its compliance with requirements and specifications. 4. Performance testing: Testing the software's performance under different workload scenarios to assess its responsiveness and scalability. 5. Regression testing: Re-running previously executed tests to ensure that changes or fixes have not introduced new issues.
3. Why is software testing important?
Ans. Software testing is important for several reasons: 1. It helps identify bugs and errors early in the development process, allowing for timely fixes and preventing issues from becoming more significant. 2. It ensures that the software meets the desired requirements and specifications, enhancing its quality and reliability. 3. Testing helps improve user experience by identifying and resolving usability issues. 4. It helps build trust among users and stakeholders by providing a reliable and error-free software application. 5. Testing enables the identification of performance bottlenecks and optimization opportunities, leading to improved efficiency and scalability.
4. What are the common challenges in software testing?
Ans. Some common challenges in software testing include: 1. Time constraints: Limited time allocated for testing can result in incomplete coverage and the possibility of missing critical issues. 2. Lack of resources: Insufficient resources, including skilled testers, testing tools, and test environments, can hinder the testing process. 3. Changing requirements: Frequent changes in requirements can impact the testing scope and make it challenging to maintain test cases. 4. Complex systems: Testing complex systems with multiple components and dependencies can be difficult and require thorough planning and coordination. 5. Limited test coverage: It may not be feasible to test all possible scenarios, leading to potential undiscovered issues.
5. What is the difference between manual testing and automated testing?
Ans. Manual testing refers to the process of manually executing test cases and verifying the software's behavior against expected results. It involves human intervention and observation. On the other hand, automated testing involves the use of specialized software tools to execute pre-defined test scripts or scenarios. It eliminates the need for manual intervention and can be more efficient for repetitive or complex testing tasks. Automated testing is often used for regression testing, performance testing, and large-scale testing. However, manual testing allows for exploratory testing and human judgment, which can be valuable in certain scenarios.
Download as PDF

Top Courses for Computer Science Engineering (CSE)

Related Searches

Chapter : Software Engineering Testing

,

past year papers

,

Chapter : Software Engineering Testing

,

Engineering - Computer Science Engineering (CSE)

,

PPT

,

mock tests for examination

,

shortcuts and tricks

,

video lectures

,

MCQs

,

Important questions

,

PPT

,

PPT

,

practice quizzes

,

Engineering - Computer Science Engineering (CSE)

,

pdf

,

Summary

,

Chapter : Software Engineering Testing

,

Extra Questions

,

Semester

,

Previous Year Questions with Solutions

,

Viva Questions

,

Engineering - Computer Science Engineering (CSE)

,

ppt

,

Exam

,

Semester

,

Objective type Questions

,

Sample Paper

,

Free

,

study material

,

Semester Notes

,

Semester

;