Software Testing

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 10
At a glance
Powered by AI
The key takeaways from the document are the importance of testing in software development and the different types and levels of testing.

Testing professionals handle tasks like designing and executing test cases, reporting and tracking bugs, automating tests, and ensuring quality.

Testing is significant as it helps find bugs, improves quality and ensures customer satisfaction. It also helps estimate the cost of quality and reduces risks.

Government of Karnataka

Department of Technical Education


Bengaluru

Course Title: Software Testing


Course Code:
Scheme (L:T:P) : 4:0:0 Total Contact Hours: 52
15CS61T
Type of Course: Lectures, Self Core/ Elective:
Credit :04
Study & Student Activity Core
CIE- 25 Marks SEE- 100 Marks

Prerequisites
Basic knowledge about testing

Course Objectives:
1. Foundations of software testing, important concepts and the testing process
2. Understand Testing levels and testing methods
3. Study Static testing – how to carry out testing without executing the code
4. Learn about dynamic testing and Test case design techniques. How to do the testing
after executing the program and how to design test cases with examples
5. Know the details of Managing the testing Process
6. Know the need for testing tools and how to select a tool.

Course Outcome

On successful completion of the course, the students will be able to attain below Course
Outcome (CO):
CL Linked PO Teaching
Course outcome
Hours

CO1 Understand the challenges and problems R,


faced, what is testing, types of testing and 1,2,5,6,7,8,9,10 12
U
the models
CO2 Understand the different types of testing U,
1,2,3,4,5,8,9,10 08
with their workings. A
CO3 Describe the techniques used in static U,
A 1,2,3,4,5,8,9,10 10
testing
CO4 Visualizing the methods used to perform U
1,2,3,4,5,8,9,10 08
dynamic testing and case studies on it. A
CO5 Identify how to manage the testing process U,
1,2,4,5,8,9,10 08
by developing the related documents A
CO6 Analyze why tools are required, how to use U
1,2,4,5,6,7,8,9,10 06
them and understand the ethics required. A
Total sessions 52

Legends: R = Remember U= Understand; A= Apply and above levels (Bloom’s revised


taxonomy)

Directorate Of Technical Education Karnataka State CS&E 15CS61T


Course-PO Attainment Matrix

Course Programme Outcomes


1 2 3 4 5 6 7 8 9 10
Software Testing 3 3 2 3 3 3 3 3 3 3
Level 3- Highly Addressed, Level 2-Moderately Addressed, Level 1-Low Addressed.
Method is to relate the level of PO with the number of hours devoted to the COs which address the given PO.
If >40% of classroom sessions addressing a particular PO, it is considered that PO is addressed at Level 3
If 25 to 40% of classroom sessions addressing a particular PO, it is considered that PO is addressed at Level 2
If 5 to 25% of classroom sessions addressing a particular PO, it is considered that PO is addressed at Level 1
If < 5% of classroom sessions addressing a particular PO, it is considered that PO is considered not-addressed.

Course Content and Blue Print of Marks for SEE

Unit Hour Questions to Marks Marks


No Unit Name be set for Weightage Weightage
SEE (%)
R U A A
I Introduction and Fundamentals 5 25 - 30 20.69
12
of Testing
II Testing Levels and Types - 15 10 25 17.24
08
III Static Testing Techniques - 25 - 25 17.24
10
IV Dynamic Testing and Test case - 15 10 25 17.24
08
design Techniques
V - 20 5 25 17.24
Managing the Testing Process 08
VI Software Testing Tools and - 10 5 15 10.35
Code of Ethics for Software 06
Professionals
Total 52 5 110 30 145 100

UNIT I: Introduction and Fundamentals of Testing 12 Hrs


Introduction: Power of software, Challenges in software projects, Software Fiascos, Ariane Commented [S1]: Why Testing
Objectives of Testing
5, Patriot Missile, Mars Pathfinder, CT Scanner, The great bank robbery, FBI Virtual case
file, Reasons for software failure, What is the solution?, Software Quality Assurance,
Software Testing, Code of Ethics, Software Testing Professionals, Skill sets for Testing Commented [S2]: We can exclude this as it is not a common
Professionals, Tasks handled by Testing Professionals term in software
Commented [S3]: Need a section for Bugs
Bugs
Fundamentals of Testing: What is Testing?, Testing versus Debugging, Testing and Bugs/Defect – What is Bug, Sources of Bugs, Most common Bugs
Bug Flow Chart
Bebugging, Verification and Validation, Root Cause Analysis, Significance of Testing, Cost Classification of Bugs
Severity and Priority of Bugs
of Quality, Psychology of Testing, Testing Choices, In-house Testing, Outsourcing, Who does Bug Documentation – To log Bugs
the testing?, Developers as Testers, Independent team Testing, Buddy Testing, Testing Phases, Bug Tracking Tools - Bugzilla

V Model, Testing and Life cycle models, Testing the Systems, Testing the Strategies, Static Commented [S4]: SDLC vs STLC

Testing, Dynamic Testing, Why testing is difficult?, Test Case, Test Oracle, Test Software, Commented [S5]: Can remove V Model and add Water Fall
Model
Manual versus Automated Testing, Testing Software of different Technologies, Metrics in Commented [S6]: Include
Agile Methodology
2

Directorate Of Technical Education Karnataka State CS&E 15CS61T


Testing Phase, When Testing is Complete?, Criteria for Completion of Testing, Risk-based
Testing, Types of risks, The Myths and Realities of Testing

UNIT II: Testing Levels and Types 08 Hrs


Testing Levels, Unit/Component Testing, Module Testing, Integration Testing, System
Testing, Acceptance Testing, Testing Approaches, Static Testing vs Dynamic Testing, Commented [S7]: End to End Testing
OS/Browser Compatibility testing
Positive Testing vs Negative Testing, Top-down Testing vs Bottom-up Testing, Functional Usability Testing
Testing vs Structural Testing, Mutation Testing, Confirmation Testing, Regression Testing,
Types of Testing, Smoke Testing, Black Box Testing, White Box Testing, Interface Testing,
Use Case Testing, Gorilla Testing, Alpha Testing, Beta Testing, Field Trail / Operational Commented [S8]: Remove this – Usecase testing
Include Usability testing
Testing, Performance Testing / Load Testing, Stress Testing, Accessibility Testing,
Conformance Testing, Internationalization Testing, Security Testing, Maintenance Testing, Commented [S9]: Can remove this, as it is redundant
Can add - Exploratory Testing , Adhoc Testing
Acceptance Testing, Documentation Testing
Commented [S10]: Outdated
Instead it is
UAT – User Acceptance Testing
UNIT III:Static Testing Techniques 10 Hrs

Static Testing, Advantages of Static Testing, Manual Reviews, Formal Review Process,
Informal Reviews, Walkthroughs, Inspections, Making Reviews Successful, Checklists,
Formal Code Reviews, Coding Guidelines, Programming style, C Coding Guidelines, Code
Optimization, Java Coding Guidelines, Static Analysis using Tools, Tool for Readability
Improvement / Indenting, Portability Testing Tool, Symbolic Execution

UNIT IV: Dynamic Testing and Test case design Techniques 08 Hrs

Dynamic Testing, Review work products, Identify Test Objectives, Test Specifications and
Test Design, Design Test Cases, Black Box Test Case Design Techniques, White Box Test Commented [S11]: Test case
Test Case Types
Case Design Techniques, Experience-based Test Case Design Techniques, Case Study #1 : Test Case Template
Test Case Scripting – Use Excel Spreedsheet/Google Docs
Test Cases for an IVR System, Case Study #2 : Test Case for Finger Print Recognition Test Case Review
System, Document Test Cases, Execute Test Cases, Generate Incident Report / Anomaly Test Execution Process
Test Suite
Report, Log the Defects, Test Documentation Standards, Formal Methods of Testing Identification of Test cases for Execution
Test Management/Execution Tool – Test Link, Aptest Manager,

UNIT V: Managing the Testing Process 08 Hrs

Management Commitment, Organization Structure, Testing Process management, Options for


Managers, Testing Process Management Activities, Planning, Budgeting and Scheduling the
Testing Phase, Test Plan, Alignment of the Process to the Project, Team Formation,
Infrastructure, Testing Tools, Reviewing, Monitoring and Risk Management, Risk
Management, Test Reports, Metrics, Software Reliability, Defect tracking, Classification of
Defects, Configuration Management, Test Closure and Process Improvement, Software
testing Maturity Model (SW-TMM), Information Security

UNIT VI: Software Testing Tools and Code of Ethics for Software Professionals 06 Hrs

Software Testing Tools: Need for Tools, Classification of Tools, Functional / Regression Commented [S12]: Can mention about some tools like –
Selenium
Testing Tools, Performance / Load Testing Tools, Testing Process Management Tools,

Directorate Of Technical Education Karnataka State CS&E 15CS61T


Benefits of Tools, Risks Associated with the Tools, Does your Organization Need Tools?,
Selecting Tools, Introducing the tools in the Testing Process

Code of Ethics for Software Professionals: Human Ethics, Professional Ethics, Ethical
Issues in Software Engineering, Code of Ethics and Professional Practice, Software
Engineering Code of Ethics and Professional Practice, Ethical issues: Right versus Wrong

Text Books
1. ISTQB Certification Study Guide, Dr. K.V.K.K. Prasad, Wiley-Dreamtech Press,
ISBN: 9788177227116

References
1. Software Testing Principles and Practices, Srinivasn desikan, Goplaswamy Ramesh,
Pearson, ISBN: 9788177581218
2. Software Testing Tools, Dr. K.V.K.K. Prasad, Wiley- Dreamtech Press, ISBN 10:
8177225324
ISBN 13: 9788177225327
3. Software Testing Concepts and Tools, Nageshwara Rao Pusuluri, DreamTech, ISBN
10: 8177227122 ISBN 13: 9788177227123

Suggested list of student activities

Note: the following activities or similar activities for assessing CIE (IA) for 5 marks (Any
one)
1. Each student should do any one of the following type activity or any other similar
activity related to the course and before conduction, get it approved from concerned course
coordinator and programme coordinator.
2. Each student should conduct different activity and no repeating should occur

1 Design test cases on validation of time with a format HH : MM : SS

2 Prepare a report on different types of testing.

3 Prepare a presentation on testing tools available

Course Delivery

The course will be delivered through lectures and Power point presentations/ Video

Course Assessment and Evaluation Scheme

Directorate Of Technical Education Karnataka State CS&E 15CS61T


Method What To When/Where Max Evidence Course outcomes
who (Frequency in Marks collected
m the course)
CIE IA Three IA tests 1 to 6
(Average of
20 Blue books
three tests will
Direct Assessment

be computed)
Students

Student 1 to 6
05 Report
activities
Total
25
SEE End End of the Answer scripts 1 to 6
100
Exam course at BTE
Student Feedback Middle of the 1,2,3 Delivery of
Feedback forms
on course course course
Students
Assessment

End of Course End of the 1 to 6


Effectiveness of
Indirect

Survey course
Questionnaires Delivery of
instructions &
Assessment Methods

Note: I.A. test shall be conducted for 20 marks. Average marks of three tests shall be rounded
off to the next higher digit.

Questions for CIE and SEE will be designed to evaluate the various educational
components (Bloom’s taxonomy) such as:
Sl. No Bloom’s Category %
1 Remembrance 20
Weightage
2 Understanding 45
Weightage
3 Application 35

Note to IA verifier: The following documents to be verified by CIE verifier at the end of
semester
1. Blue books (20 marks)
2. Student suggested activities report for 5 marks
3. Student feedback on course regarding Effectiveness of Delivery of instructions &
Assessment Methods.

Directorate Of Technical Education Karnataka State CS&E 15CS61T


FORMAT OF I A TEST QUESTION PAPER (CIE)
Test/Date and Time Semester/year Course/Course Code Max Marks

Ex: I test/6 th week I/II SEM


20
of sem 10-11 Am Year:
Name of Course coordinator :
Units:__ CO’s:____

Questio C
Question MARKS CL PO
n no O
1
2
3
4

Note: Internal choice may be given in each CO at the same cognitive level (CL).

MODEL QUESTION PAPER (CIE)

Test/Date and Time Semester/year Course/Course Code Max Marks

Ex: I test/6 th week VI SEM Software Testing


20
of sem 10-11 AM Year: Course code:15CS61T

Name of Course coordinator :


Units:1,2 Co: 1,2

Note: Answer all questions

Questio C
Question CL PO
n no O

1 Differentiate between debugging and bebugging. (5) U 1 1,2


OR
Explain the challenges faced in software projects.
2 Explain the levels of testing and corresponding test plans with a neat A 2 1,2,
diagram. (10) 3

3 Explain the significance of testing (5) U 1 1,2


OR
Explain Test Oracle

Directorate Of Technical Education Karnataka State CS&E 15CS61T


Format for Student Activity Assessment

DIMENSION Unsatisfactory Developing Satisfactory Good Exemplary Score


1 2 3 4 5

Collection of Does not Collects Collects Collects


Collects a 3
data collect any very limited some basic relevant
great deal of
information information; information; information;
information;
relating to the some relate refer to the concerned
all refer to
topic to the topic topic to the topic
the topic
Fulfill team’s Does not Performs Performs Performs all
Performs all 4
roles & duties perform any very little nearly all duties duties of
duties assigned duties duties assigned
to the team team roles
role with
presentation
Shares work Always relies Rarely does Usually Does the Always 3
equally on others to do the assigned does the assigned job does the
the work work; often assigned without assigned
needs work; rarely having to be work
reminding needs reminded. without
reminding having to be
reminded
and on
given time
frame
Listen to Is always Usually Listens, but Listens and Listens and 3
other Team talking; never does most sometimes contributes contributes
mates allows anyone of the talk too to the precisely to
else to speak talking; much relevant the relevant
rarely topic topic and
allows exhibit
others to leadership
speak qualities
TOTAL 13/4=3.25=4

Note: This is only an example. Appropriate rubrics/criteria may be devised by the


concerned faculty (Course Coordinator) for assessing the given activity

Directorate Of Technical Education Karnataka State CS&E 15CS61T


MODEL QUESTION PAPER Code: 15CS61T
Diploma in Computer science & Engineering
VI Semester
Course Title: OBJECT-ORIENTED MODELING and DESIGN

Time: 3 Hours Max Marks: 100


PART-A
Answer any SIX questions. Each carries 5 marks. 5X6=30 Marks
1. What is the importance of Gorilla Testing?
2. What are the responsibilities of test manager?
3. Explain the IEEE standard characteristics of an SRS document.
4. Describe the incident report.
5. List the various metrics used in testing phase.
6. Mention the benefits of testing tools.
7. What are the tasks handled by testing professionals?
8. Explain Field-trial testing.
9. Explain configuration management.
.

PART-B
Answer any SEVEN full questions each carries 10 marks. 10X7=70 Marks
1. Explain V. Model with neat diagram.
2. Differentiate between the following:
a. Positive and Negative Testing
b. Alpha and Beta Testing
3. Explain the formal review process.
4. List and briefly explain the steps in dynamic testing
5. Explain the following tools to review testing progress:
a. Gantt chart
b. Cost – schedule – milestone chart
6. Explain how tools are introduced in testing process in an organization with help of
diagram
7. Explain the classifications of Non-functional requirements.
8.
a. What criteria are used to declare that the testing is complete?
b. What is the need for Regression testing?
9. Explain different checklist in Static Testing.
10. What are the various methods used in black box test case design technique?

Directorate Of Technical Education Karnataka State CS&E 15CS61T


MODEL QUESTION BANK
Diploma in Computer Science & Engineering
VI Semester
Course Title: Object-Oriented Modeling and Design

C Question CL Marks
O
What are the tasks handled by testing professionals? R
Explain the significance of testing U
Differentiate between debugging and bebugging. U
Differentiate between static and dynamic testing. U 05
Discuss important metrics in testing phase. U
I What criteria are used to declare that the testing is complete? R
Explain the challenges faced in software projects. U
Explain V. Model with neat diagram. A
Explain the following: U
a. Test ORACLE 10
b. Defect seeding
Explain the advantages and disadvantages of in-house testing and U
outsourcing
Explain the classifications of Non-functional requirements. U
Explain Field-trial testing. U
Compare white-box testing and black-box testing. U
Explain the importance of Gorilla Testing. U
Explain the need for Regression testing? U
Compare structural testing at module level and structural testing at A
5
system level.
Explain stages of testing. A
II Describe the different levels of Testing. U
Differentiate between the following:
a. Positive and Negative Testing U 10
b. Alpha and Beta Testing
Explain how performance and stress testing can be done on database U
system?
Explain the levels of testing and corresponding test plans with a neat A
diagram.
Explain the IEEE standard characteristics of an SRS document. U
What factors contribute to the success of review meeting? U
What are the advantages of static testing? U
Discuss the code optimization guidelines during code review. U 5
Mention guidelines to be followed by Software Engineers while U
III
programming in Java.
Explain different checklist in Static Testing. U
Explain the formal review process. U
Mention important C coding guidelines U 10
Describe how to document a test cases. U
9

Directorate Of Technical Education Karnataka State CS&E 15CS61T


Explain how Decision tables are used in black box testing. U
Describe the incident report. U
Write a note on specifications based on testing. U
Explain how to design test case U 5
IV List and briefly explain the steps in dynamic testing. U
Explain boundary value analysis. U
What are the various methods used in black box test case design A 10
technique?
Explain configuration management. A
What factors need to be considered while buying COTS software? U 5
Explain Defect tracking. U
What are the responsibilities of test manager? U
Explain the content of test report generated after testing phase. U
List the various metrics used in testing phase. U
V
Explain the following tools to review testing progress: A
a. Gantt chart 10
b. Cost – schedule – milestone chart
Explain with a diagram, the change impact analysis in configuration A
management.

Mention the benefits of testing tools. U


Explain the risk associated with tools U
Write a note on professional ethics U
Explain Performance/Load Testing Tools U 5
Discuss the code of Ethics framework. U
VI
Explain why testing tools are required U
Explain the different classes of Testing Tools. U
Explain how tools are introduced in testing process in an organization A
with help of diagram 10
Mention the criteria for selecting the tools U
Write a note on software engineering code of ethics. U

10

Directorate Of Technical Education Karnataka State CS&E 15CS61T

You might also like