Post #3898514
2026-07-18 00:04 UTC
@nyamsprod@phpc.social Seems nice lib :)
Just a naïve question: I'm wondering why the test classes are in src with main classes ?
Replies (1)
-
@nyamsprod@phpc.social 2026-07-18 06:33
@velkuns@phpc.social this is a recurring question that I get when people look at my packages I will TL;DR ir with: - ease of tests discovery - ease of maintenance - uniformity in package configuration But that's just my opinion. And it depends on the package and on how many people work on it I guess (even though I do not really buy that last argument) PS: Last time I've checked TypeScript does the same but maybe they changed in the meantime (I do not use TypeScript).