I want to write a full test suite for my new module. Unit tests are no problem as they can be tested in isolation, and therefore can be in a tests folder within the package.
However Integration and Functional tests act on the whole application, the Magento core has these at root level, so to my question.
So if we are to have the tests controlled by a composer package how do we get them into a root level folder?
I have found nothing in the documentation on what best practice is. Are third party module developers only writing Unit Tests?
I'm not aiming to distribute my module so I could put my Unit tests in the package and put Integration and Functional Tests at root level and source control them with the project. Is this the best plan - how are others doing it?