Hi, thanks for the article!
I wonder about the project structure, when you have nested the apps inside the server, you have to replicate the whole structure in tests
How would this work if each app had own tests app/tests - would there be any benefits or potential problems?
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! 👍
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
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.