Integration Testing vs. Unit Testing

General Tech QA/Testing 3 years ago

6.39K 2 0 0 0

User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 3 years ago

I've recently started reading The Art of Unit Testing, and the light came on regarding the difference between Unit tests and Integration tests. I'm pretty sure there were some things I was doing in NUnit that would have fit better in an Integration test.

So my question is, what methods and tools do you use for Integration testing?

0 views
0 shares

profilepic.png
manpreet 3 years ago

In my experience, you can use (mostly) the same tools for unit and integration testing. The difference is more in what you test, not how you test. So while setup, code tested and checking of results will be different, you can use the same tools.

For example, I have used JUnit and DBUnit for both unit and integration tests.

At any rate, the line between unit and integrations tests can be somewhat blurry. It depends on what you define as a "unit"...


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.

Similar Forum