-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
endToEndTest does not compile on Windows #106
Comments
If you change the gradle build file as shown below, the code will compile OK. But then the tests appear not to run (only TestRoomCreate is enabled, the other one is @ignore'd) because it's expecting a server to be running. dependencies { endToEndTestCompile configurations.compile endToEndTestRuntime configurations.runtime task endToEndTest(type: Test) { Inspired by this article: https://www.michael-bull.com/blog/2016/06/04/separating-integration-and-unit-tests-with-gradle |
Error from TestRoomCreate: |
I'm not sure this is running on Linux either.. tho it doesn't fail to compile, gradle always seems to think the dir is 'UP-TO-DATE' even when run with --rerun-tasks etc. |
There are 100 errors reported, here are some of them:
gameon\map\map-app\src\endToEnd\java\org\gameontext\map\TestRoomCreate.java:3: error: package org.junit does not exist
import static org.junit.Assert.assertTrue;
gameon\map\map-app\src\endToEnd\java\org\gameontext\map\TestRoomCreate.java:9: error: package javax.ws.rs.client does not exist
import javax.ws.rs.client.Client;
gameon\map\map-app\src\endToEnd\java\org\gameontext\map\TestRoomSwap.java:37: error: package org.apache.http does not exist
import org.apache.http.HttpResponse;
gameon\map\map-app\src\endToEnd\java\org\gameontext\map\TestRoomCreate.java:17: error: package org.gameontext.map.model does not exist
import org.gameontext.map.model.ConnectionDetails;
The text was updated successfully, but these errors were encountered: