I open this issue according to https://github.com/jhipster/generator-jhipster/issues/13125#issuecomment-736645438.
In Angular part were tests moved next to the files they are testing after https://github.com/jhipster/generator-jhipster/issues/13125#issuecomment-735789694 and https://github.com/jhipster/generator-jhipster/issues/13125#issuecomment-735793814
In https://groups.google.com/g/jhipster-dev/c/wq6pe4VLPlE general opinion was that 3 front end frameworks should be in sync in tests location.
So should we move tests next to the files they are testing also in Vue part?
I just tried vue-cli
and the tests are in a specific folder:
* src
* tests
* e2e (cypress)
* unit (jest)
So I'd prefer to keep like this today.
cc @sahbi-ktifa @hdurix @atomfrede @nonomoho @Falydoor : what do you think ? Your opinions are important here
Without your comment I would have said put it next to the file/component because that's what we do usually or inside a _test folder next to the components. In case vue cli is keeping them in dedicated folders I think we should stick to that so users coming from vue cli know the structure well.
Most helpful comment
I just tried
vue-cli
and the tests are in a specific folder:So I'd prefer to keep like this today.