Skip to main content
Question Protected by gnat
Tweeted twitter.com/StackSoftEng/status/856134718554820608
edited body; edited title
Source Link
Tulains Córdova
  • 39.6k
  • 13
  • 102
  • 157

Does integration testing use Mocksmocks?

I am currently in a class for Software Testingsoftware testing where for our semester project, we have to perform multiple types of testing on it, such as Unitunit testing and Integration Testingintegration testing. For Integrationintegration testing, the professor said to use mocks and mocking libraries (like EasyMock and Mockito) for our integration testing. I'm getting fairly confused though. Integration testing is testing outside classes, modules, services, etc. Why would mocks and stubs be proper to use in integration testing if you are testing a multiple classes and services?

Does integration testing use Mocks?

I am currently in a class for Software Testing where for our semester project, we have to perform multiple types of testing on it, such as Unit testing and Integration Testing. For Integration testing, the professor said to use mocks and mocking libraries (like EasyMock and Mockito) for our integration testing. I'm getting fairly confused though. Integration testing is testing outside classes, modules, services, etc. Why would mocks and stubs be proper to use in integration testing if you are testing a multiple classes and services?

Does integration testing use mocks?

I am currently in a class for software testing where for our semester project, we have to perform multiple types of testing on it, such as unit testing and integration testing. For integration testing, the professor said to use mocks and mocking libraries (like EasyMock and Mockito) for our integration testing. I'm getting fairly confused though. Integration testing is testing outside classes, modules, services, etc. Why would mocks and stubs be proper to use in integration testing if you are testing a multiple classes and services?

Source Link

Does integration testing use Mocks?

I am currently in a class for Software Testing where for our semester project, we have to perform multiple types of testing on it, such as Unit testing and Integration Testing. For Integration testing, the professor said to use mocks and mocking libraries (like EasyMock and Mockito) for our integration testing. I'm getting fairly confused though. Integration testing is testing outside classes, modules, services, etc. Why would mocks and stubs be proper to use in integration testing if you are testing a multiple classes and services?