What is Software Testing ? How many types of testing we mayutilize for a component using CBSE approach ?

Answered on

Software testing is the process of evaluating and verifying that a software program or application does what it is supposed to do. The purpose of testing can be to find bugs or errors, ensure quality, and to check if the software meets the specified requirements. The goal is to identify any gaps, errors, or missing requirements in contrary to the actual desires.

When referring to the CBSE approach, we are likely talking about Component-Based Software Engineering. CBSE is a branch of software engineering that focuses on the design and development of software systems from reusable components. When it comes to testing a component using the CBSE approach, there are several types of testing that can be utilized. This can be broadly categorized into two types:

1. Black-box Testing: In this method, the tester does not need knowledge of the internal working of the component. They test the component by just providing inputs and checking the outputs against the expected outcomes. Techniques in black-box testing include: - Functional Testing - Non-functional Testing - Regression Testing

2. White-box Testing: Contrary to black-box testing, white-box testing requires intimate knowledge of the internal workings of the component. The tester needs to look inside the source code and find out which unit of the code is behaving unexpectedly. Techniques in white-box testing include: - Unit Testing - Integration Testing - System Testing

These types of tests can be applied at different levels of the software testing process, such as unit testing for small parts, integration testing for how different parts interact with each other, system testing for the complete system, and acceptance testing for validation with user requirements.

Related Questions