About this question
I am new to testing. I would like to know: What is component testing? How do I write component test cases?
I am new to testing. I would like to know: What is component testing? How do I write component test cases?
Log in to share your answer and help other learners.
Log in to answerBest Answer · By JanBask QA Expert
Answered on Apr 26, 2022
Component testing is testing of a specific module or program.It may be done in isolation from the rest of the system depending on the life cycle model selected for that particular application.
Stub and driver are used for competent testing. These both are considered as components. Best example is given below : Suppose you are testing one application which has 3 modules called X ,Y and Z. and think that each module depends on above like Y is depends on X , Z it depends on Y. Now if the developer developed the Y module and as a tester if you want to test it then you need to use stub & driver as module X and Z. Based on the above example it will be easy to write a test case for you.
Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.
Step-by-step QA Testing guides from industry experts
Common QA Testing interview questions, answered
Guides, tips and career advice on QA Testing from JanBask experts.
Selenium Selenium Tutorial: Complete Guide to Automation Testing for Beginners
The Selenium tutorial covers both fundamental & advanced Selenium concepts. It is for individuals at all levels. Learn about…
QA Testing Software Testing Basics: Fundamentals, Principles, Lifecycle & Best Practices
Learn software testing basics, including key principles, lifecycle stages, types of testing, and best practices. A complete…
QA Testing You Can’t Miss the Top 20 Security Testing Interview Questions
Are you getting ready for your information security interview? Get a hold of the top 20 information security interview questions…