Skip to main content
1 of 2
Doc Brown
  • 220.5k
  • 35
  • 410
  • 625

First, there is no strict, widely accepted definition of when a test is not a unit test any more - the boundaries are blurry and to some degree opiniated.

However, my understanding of the word "integration tests" involves that there must be at least two "units" or "components" of code, and some production code which integrates them. An integration test then is a test which tests that integrated scenario of the production code, not some "integrational setup" in test code.

Doc Brown
  • 220.5k
  • 35
  • 410
  • 625