on 02-10-2016 1:41 PM
Hi,
in my hybris project I have a unit test that uses a .csv file for execution. This file is placed next to the unit test class in "testsrc".
Executed from my IDE all went fine. But within the CI the unit test could no access it's resource. My guess is that all in "testsrc" not ending with .java wil be ignored.
In a maven project would be a folder "src/test/resoucres" to place those files. Is there an equivalent in hybris?
Thanks
Please put your .csv file under \resources\testsrc e.g. \hybris\bin\ext-commerce\basecommerce\resources\testsrc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, mix test resources with production resources may be very bad solution!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, is resources/testsrc the only solution? With this approach test resources and productive resources are mixed. There's no separation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.