I have really strange behavior. I am building proj...
# community-support
k
I have really strange behavior. I am building project and adding
java-test-fixtures
adds dependency to jar task so when running tests when my class tries to get resources root path it gets it like this:
jar:file:/C:/Users/ksawery.karwacki/git/PA/calculate/build/libs/calculate.jar!/builtins/flow
instead of doing it like this:
file:/C:/Users/ksawery.karwacki/git/PA/calculate/build/resources/main/builtins/flow
Which causes tests to fail. Not sure if my resources lookup is bad, but removing test-fixtures restores everything to work properly again.
v
I'd say the question is, why do your tests fail depending on where the resources are coming from? If you get them properly, it should be irrelevant whether they are coming from jar or filesystem. But besides that, it might help to understand your situation if you can knit an MCVE.