Unit Testing vs Integration Testing

Unit Testing vs Integration Testing
September 09 06:28 2016 Print This Article

The variety of testing techniques the software testing company provides is really amazing. Sometimes it is difficult to distinguish between different testing types. The choice depends on product, goals and time limits.

Both unit and integration testing are used to find errors at the early stage of development. What is the difference between them?

What Are Unit Testing Distinctive Features?

  • Repeatability. Unit testing could be performed as many times as needed.
  • Stability. The number of unit test repetitions doesn’t influence the result.
  • Independency from changing values.
  • Swiftness. Good unit testing should be maximum quick.
  • Testing of only one use case. Unit testing even got its name because of this feature.

Integration testing has a set of specific features that should be taken into account by the tester before preceding directly to its execution.

What Are the Distinctive Features of Integration Testing?

  • This type includes performance testing, acceptance testing and system testing.
  • Constantly changing data usage.
  • Low control objects creation.
  • Dependency from local and external systems.
  • Simultaneous testing of different use cases.

All of this makes integration testing slower, harder to repeat and more difficult to collect result data. The newcomers may consider integration testing useless and even try to substitute it with other types. On the other side, this method is perfect during regression testing, and the complex usage of unit and integration testing raises the quality of software testing.

Related Posts:

About Article Author

view more articles
Nataliia Vasylyna

View More Articles