Unit 5 Software Testing
Unit 5 Software Testing
1
Software Engineering
➢ Testing is done
thoroughly and effectively so that risks of failure is
lowered as a result maintenance costs reduces.
➢ Improved Quality
➢ Reduced Maintenance Costs
➢ Increased Customer satisfaction
➢ Reduced Risk
➢ Improved Reliability
➢ Time-Consuming
➢ Costly
➢ Limited test coverage
➢ Test maintenance
➢ Dependence on test data
2
Software Engineering
Test Plan
Development
process
3
Software Engineering
➢ Reduced Risk
➢ Time consuming
➢ Increased upfront costs
Acceptance Testing
System Testing
Integration Testing
Unit Testing
4
Software Engineering
:
➢ Does not cover the non-functional testing parameters.
➢ It cannot help to detect all bugs in the software.
➢ It is dependent on developers.
5
Software Engineering
:
This testing follows four steps:
Step 1: Create the test cases needed for testing .
Step 2: Write the code for the tests.
Step 3: Run the test .
Step 4: Maintaining of the test. Updating of test accordingly
to the code change.
I t is also known as unit testing and
performed on individual components by the developers of
components.
6
Software Engineering
7
Software Engineering
8
Software Engineering
9
Software Engineering
It is a technique where
automated unit tests are used to drive the design. It is the
process used in which test cases are written before the code to
validate the cases.
:
➢ : Test case is written to describe the complete
system function. It makes the developer to understand the
features and requirements of user.
➢ : Execute all test cases and make sure that the
new test case fails.
➢ Write the code to pass the test case.
➢ : Removes duplication of code.
➢ the above steps again and again.
10
Software Engineering
11
Software Engineering
12
Software Engineering
13
Software Engineering
14
Software Engineering
➢ Real-World Feedback
➢ Improved Quality
➢ Redused risk
➢ Cost saving
➢ Costly.
➢ Time-consuming.
Difficulty in managing Expectation
15
Software Engineering
➢ it is alsi end-user
testing. It is used to determine to check for software is
working correctly or not
➢ It is used to
determine for the softwareto meet the business goals
and purpose. It mainly focuses on business profits and
challenges.
➢ Alpha testing is used to determine
the product in thedevelopment testing environment by
a specialized testers team usually called alpha testers.
➢ : Beta testing is used to assess the product
by exposing it to thereal end-users, typically called beta
testers in their environment.
➢ User involvement.
➢ Improves Quality.
➢ Automated test execution.
➢ Gather data.
16
Software Engineering
17