Hi, good question! I think that adding tests in tests/ have more benefits, because I can actually organize tests differently. Sometimes, tests do not have to copy the original structure and most of the time it is really important to test things in between the contexts / apps.
With server/apps/*/tests approach it would be harder. But, this is just a preference, use what is best for you! 👍
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi, good question! I think that adding tests in
tests/
have more benefits, because I can actually organize tests differently. Sometimes, tests do not have to copy the original structure and most of the time it is really important to test things in between the contexts / apps.With
server/apps/*/tests
approach it would be harder. But, this is just a preference, use what is best for you! 👍