Testing.ppt - Software Testing by Dr Rizwan Testing Similar to the situation for many physical systems and products the purpose of software testing is

Testing.ppt - Software Testing by Dr Rizwan Testing Similar...

This preview shows page 1 - 11 out of 52 pages.

Software Testing by Dr. Rizwan
Image of page 1
Testing Similar to the situation for many physical systems and products, the purpose of software testing is to ensure that the software systems would work as expected when they are used by their target customers and users. The most natural way to show this fulfillment of expectations is to demonstrate their operation through some “dry-runs” or controlled experimentation in laboratory settings before the products are released or delivered.
Image of page 2
Testing In the overall framework of software quality engineering, testing is an integral part of the QA activities. In the case of software products, such controlled experimentation through program execution is generally called testing.
Image of page 3
Testing What is testing? The act of checking if a part or a product performs as expected Testing can demonstrate the presence of bugs, but not their absence. (Dijkstra) Why test? Gain confidence in the correctness of a part or a product Check if there are any errors in a part or a product We need to check our work, because we will make mistakes
Image of page 4
Testing Software Apply input Observe output Validate the observed output Is the observed output the same as the expected output? The process of finding deviations of observed behaviour from the expected behaviour.
Image of page 5
Testing Philosophy Testing has a different philosophy compared to other activities in the development life cycle e.g. Analysis, design, implementation (constructive activities) Testing: Is aimed at breaking the system. Should attempt to find the cases where the system behaviour deviates from the specified behaviour. Ideally should be performed by developers who are not involved in the development of the system.
Image of page 6
Testing Process Test Planning and Preparation A test plan is a document describing the approach to be taken for intended testing activities and serves as an agreement between the quality assurance and other interested parties, such as development. A test plan defines: Test objectives, Scope, Strategy,
Image of page 7
Test Planning and Preparation Test procedures, Test environment, Test completion criteria, Test cases, Items to be tested, The tests to be performed, The test schedules,
Image of page 8
Test Planning and Preparation Personnel requirements, Reporting procedures, Assumptions, Risks, and Contingency planning.
Image of page 9
Test Planning and Preparation Due to increasing size and complexity of today’s software products, informal testing without much planning and preparation becomes inadequate. Important functions, features, and related software components and implementation details could be easily overlooked in such informal testing.
Image of page 10
Image of page 11

You've reached the end of your free preview.

Want to read all 52 pages?

  • Fall '17

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors