crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

Difference in between Unit and Integration Testing?
Question Posted on 17 Sep 2023Home >> Testing >> Testing Questions >> Difference in between Unit and Integration Testing?

Difference in between Unit and Integration Testing?
Below are the main difference in between Unit testing and Integration testing:-
0
0

NumberBase of DifferenceUnit TestingIntegration Testing
1SpeedWhen we say about the Unit Test it is fater to write and execute.When we compare this with Unit Test Integration Testing is slower to execute.
2FunctionalityAs the name suggest Unit Testing here we will test the small module or a piece of code in application.When we say about the Integration testing, individual modules combined together and as a group, they are tested.
3ComplexityWhen we say about the Unit Testing it is less complex to write and execute.Integration Testing are more complex to write and execute.
4Involvement of dependenciesWhen we say about the involvement of outside in Unit Testing we do not require any involvement of outside dependencies like network, database etc.Integration tests require the use of real dependencies in order to perform testing like test database, hardware, etc
5Test ConductorWhen we say about the Unit Tests are generally conducted by the developer or the person written that particular codeIntegration tests are conducted by the separate team of testers
6Order of testingUnit Testing is mainly performed in starting phase just after an individual module or a piece of code is developed.Integration testing is performed after the unit testing of individual modules are completed and before the start of System testing
7MaintenanceWhen we say about Maintenance in Unit test it is very low.Integration tests have very high maintenance
8ScopeThe unit test has a very narrow scope as it covers only a piece of code/part of an applicationIntegration tests have a wider scope as it covers the whole application
9Knowledge of the codeWhen we say about the Unit Testing the tester has full knowledge of code and internal functionality and hence known as white box testing. A person working on Integration testing does not have knowledge of code but has knowledge if expected output and overall functionality and hence known as black-box testing


.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...




Other Important Questions

Steps to test a lazer printer

Difference between use case, test case and test plan

What is PDCA cycle and how testing realtes to it

What is Smoke and Sanity Testing and there difference

What do you mean by traceability matrix?






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap