Open QubitPi opened 1 year ago
Could you tell us which version of Java you are using? I think our readme might be outdated and you may see those errors with java 8, but I just tried to reproduce this using java 11 and the tests passed
$ javac -version
javac 11.0.11
Hi @kevinhinterlong . Thanks for the prompt response. Our environments have Java 11 as well
javac -version
javac 11.0.16.1
One of the failed tests seems to be complaining about StaticAssetServingTest.kt:25
StaticAssetServingTest > landing_page_test() FAILED
java.lang.NullPointerException at StaticAssetServingTest.kt:25
On that line, it is trying to load a file in resources/ui
directory, which we didn't see on master
branch
Hmm, it sounds like it's not building the ui
subproject and copying the output over correctly. These are the files that it should build and copy over
# in the root 'app' dir
$ ls ui/build/resources/main/META-INF/resources/ui/
assets fonts img index.html robots.txt testem.js tests
You could also try running ./gradlew build -p ui
directly to see if any errors occurred during the build
Thank you @kevinhinterlong for investigating! I'll definitely try it later today
(Sorry for the very late reply. :) )
Describe the bug
We were trying to run test on a Yavin app but see tests were failing.
To Reproduce
git clone git@github.com:yavin-dev/app.git
cd app
./gradlew build
Expected behavior
All tests should pass
Screenshots
Desktop (please complete the following information):
master
branchAdditional context
N/A