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

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.

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.

Source Link
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.