SOFTWARE TESTING (CCE)

SHE Level 4
SCQF Credit Points 20.00
ECTS Credit Points 10.00
Module Code MHH624658
Module Leader Martin MacDonald
School School of Computing, Engineering and Built Environment
Subject SCEBE - School Office
Trimesters
  • A (September start)
  • B (January start)

Summary of Content

This module aims to provide knowledge of testing approaches that can be integrated into the software life cycle. This covers the software testing process, levels of testing, d eriving test case design, testing techniques and tools for test automation. At the end of this course the students will be able to build testing methods to design products that are functionable and maintainable.

Syllabus

The teaching syllabus will cover the following areas: Introduction: Testing as an Engineering Activity, Role of Process in Software Quality, Testing as a Process, Basic Definitions, Software Testing Principles, Tester's Role in a Software Development Organization, Origins of Defects, Defect Classes, The Defect Repository and Test Design, Defect Examples, Developer/Tester Support for Developing a Defect Repository. Test Case Design: Introduction to Testing Design Strategies, The Smarter Tester, Test Case Design Strategies, Using Black Box Approach to Test Case Design, Random Testing, Equivalence Class Partitioning, Boundary Value Analysis, Using White-Box Approach to Test design, Coverage and Control Flow Graphs, Covering Code Logic, Paths: Their Role in White-box Based Test Design. Levels of testing: The Need for Levels of Testing, Unit Test, Integration test, System test - Functional testing, Performance testing, Stress testing, Configuration testing, Security testing, recovery testing, Alpha and Beta Acceptance test. Techniques for automating test execution: Testing and test automation ,The V model ,Tool support for life-cycle testing ,The promise of test automation, Common problems of test automation, limitations of automating software testing, Script Preprocessing, Scripting Techniques. Tools to automate testing: Selecting tools, requirements, tool market, tool selection, tool selection team, Identifying requirements, Identifying constraints, Identifyingtools and evaluating the candidate tools, Testing Tools - WinRunner, LoadRunner, Junit.

Learning Outcomes

On completion of this module the student should be able to:1. Describe software testing as an integral part of the development process.(AM1)2. Select appropriate testing techniques for the project.(AM1, AM5)3. Design test cases effectively with various testing strategies. (AM1,AM5)4. Illustrate the need for various levels of testing. (AM1, AM5)5. Identify the requirements, constraints and tools to automate testing. (AM1,AM5)6. Apply techniques for automatic test generation and evaluate their limitations. (AM1,AM5)

Teaching / Learning Strategy

The main teaching method will be based on lectures with laboratory exercises used to relate theoretical concepts to practical experience. The students will be expected to perform directed reading exercises and self-learning exercises on software testing techniques and tools. Practical work will include the use of tools for test automation.

Indicative Reading

-406 1. Ilene Burnstein (2003) Practical Software Testing, Springer Verlag. -406 2. Limaye L,G.(2009) Software Testing - Principles, Techniques and Tools, Tata Mc-Graw Hill. 3. William E Perry (2006) Effective Methods of Software Testing, John Wiley & sons.

Transferrable Skills

Laboratory work will enhance software testing tool identification and use of tools for test automation. The art of Problem solving and Critical evaluation are improved throughout the course. Project based course work will develop Interpersonal and team skills among the students.

Module Structure

Activity Total Hours
Assessment (FT) 16.00
Practicals (FT) 28.00
Lectures (FT) 56.00
Independent Learning (FT) 100.00

Assessment Methods

Component Duration Weighting Threshold Description
Coursework 1 n/a 50.00 n/a Lab exercise with report-1500 words
Exam (School) 1.50 25.00 n/a Mid-term test - Unseen written examination-1½ Hours
Exam (School) 1.50 25.00 n/a End-term test - Unseen written examination-1½ Hours