and when you run the Tester without args, vendor dir is scanned and Nette and Tester tests are found and executed. This can be supprise mainly for newbies. And it can leeds to problems with database tests.
In my opinion, the base problem is in git/composer that always clone whole repo, but it cannot be easily solved.
I would disable a Tester's automatic directory scan when not passed as arg. In that case, old behaviour can be enabled by dot:
Scanning subdirectories for tests is sometimes problem. Imagine the application structure:
and when you run the Tester without args, vendor dir is scanned and Nette and Tester tests are found and executed. This can be supprise mainly for newbies. And it can leeds to problems with database tests.
In my opinion, the base problem is in git/composer that always clone whole repo, but it cannot be easily solved.
I would disable a Tester's automatic directory scan when not passed as arg. In that case, old behaviour can be enabled by dot: