Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Software Testing Ppt, Assignments of Software Development

Software Testing is a method to check whether the actual software product matches expected requirements and to ensure that software product is Defect free. It involves execution of software/system components using manual or automated tools to evaluate one or more properties of interest. The purpose of software testing is to identify errors, gaps or missing requirements in contrast to actual requirements.

Typology: Assignments

2019/2020

Uploaded on 12/19/2020

anoop-rana-1
anoop-rana-1 🇮🇳

4.5

(2)

6 documents

1 / 10

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
UNIT TESTING
By: ANOOP RANA
Course: BCA 5 Sem
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Software Testing Ppt and more Assignments Software Development in PDF only on Docsity!

UNIT TESTING

By: ANOOP RANA Course: BCA 5 Sem

DEFINITIONS

Testing of individual hardware or software units or groups of related units [IEEE 90] A method of testing the correctness of a particular module of source code [Wiki]

WHY EVEN BOTHER?

(CONTINUED)

Tests Constrain Features Tests Defend Against Other Programmers Testing Is Fun Testing Forces You to Slow Down and Think Testing Makes Development Faster Tests Reduce Fear

EXTREME UNIT TESTING -

PRINCIPLES

Use a unit test framework All classes should be tested Create tests first - Code is added only when a tests breaks Unit tests are released into the code repository along with the code they test. (code without one may not be released) Upon discovering a missing unit test it must be created at that time

UNIT TESTING PATTERNS

pass/fail patterns collection management patterns data driven patterns performance patterns simulation patterns multithreading patterns stress test patterns presentation layer patterns process patterns

PATTERN SUMMARY

Unit Test patterns cover broad aspects of development; not just functional May promote unit testing to become a more formal engineering discipline Helps identify the kind of unit tests to write, and its usefulness. Allows developer to choose how detailed the unit tests need to be

THANK YOU