the last few weeks and days I have been reading into Drupal 8 testing with phpunit.
For a project I want to use Unit testing to test out functionality and services and the cooperation between different components.
Run the tests against an existing database / installation and not against a fresh Drupal installation, since we have configured a lot already and I need to make sure the new code does work with the whole configuration and data.
I can Unit tests to test out simple functions or classes but what I cannot use is the BrowserTests or KernelTest bases since they all create a new, fresh installation.
Maybe I have misunderstood something or I am on the wrong path.
Can anybody help me out or has an example on how to do that?