Discuss the following approaches to software testing (8 Marks )i. Functional testingii. Structural testingiii. Integration testingiv. Component Testing
Question
Discuss the following approaches to software testing (8 Marks)
- Functional testing
- Structural testing
- Integration testing
- Component Testing
Solution
i. Functional Testing: This is a type of black-box testing that is based on the specifications of the software that is to be tested. The application is tested by providing input and then the results are examined that need to conform to the functionality it was intended for. It involves checking of User Interface, APIs, Database, security, client/ server applications and functionality of the Application Under Test. The purpose of functional testing is to ensure that the system is working as it should.
ii. Structural Testing: Also known as white box testing, this approach is based on the inner workings of an application and revolves around internal testing. The tester has knowledge of the internal software structure and based on this knowledge inputs are derived for testing. It involves checking of code that you have written, branch coverage, paths coverage, statement coverage etc. The purpose of structural testing is to improve the quality of a product and its robustness.
iii. Integration Testing: This type of testing is performed to expose defects in the interfaces and interaction between integrated components (modules). It is basically the testing of the interaction between different software modules. It can be conducted in the form of top-down, bottom-up, sandwich and risk-based approaches. The purpose of integration testing is to ensure different components of the application interact with each other. Tools like Junit, NUnit are used for this type of testing.
iv. Component Testing: Also known as module, unit or program testing, this approach looks at the smallest part of an application separately. In this type of testing, the individual software components are tested. This testing is performed after the completion of unit testing. Component testing helps to identify any errors in the early stages of the development cycle, making it easier to rectify them. The purpose of component testing is to ensure that each component functions as it should.
Similar Questions
Which of the following is a form of functional testing?a) Security level testingb) Boundary value analysisc) Performance testingd) Usability testing
Explain the goals of the following testing strategies (4 Marks)i. Validation testingii. Defect testing
Tests performed on the individual modules and components.Group of answer choicesSITSVTUnit TestAcceptance Test
In Software Maintenance which type of testing is being used ?A) System TestingB) Regression TestingC) Integration TestingD) Unit Testing
Test plans are created during which phase of the software development life cycle?a.Requirement Analysisb.Designc.Implementationd.Testing
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.