Skip to main content
2 of 2
added 10 characters in body
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 piece of code which checks that integrated scenario of the production code, not some "integrational setup" in test code.

Doc Brown
  • 220.5k
  • 35
  • 410
  • 625