benedekh / WeLoveClouds

Repository for submissions on the CloudDB course.
0 stars 1 forks source link

testing #233

Closed benedekh closed 7 years ago

benedekh commented 7 years ago

Select which subset of JUnit tests work so they could be attached to the final submission.

ghost commented 7 years ago

Do you think it would be a good idea to write some more?

benedekh commented 7 years ago

Yes, and to see which subset of our tests work.

ghost commented 7 years ago

When running the class Alltests from inside eclipse the following fail:

Failing tests that aren't part of Alltests are:

A number of these fail because they haven't been updated to account for secure communications being added as a feature; they can't find the key store. I will try to update them if I figure out how to get clients and servers that are instantiated in tests to access a keystore file. Would you recommend including it in the classpath or trying to get it into the jar? Perhaps I should set a different working directory for Junit?

benedekh commented 7 years ago

Thank you for the notification. I'll take look at them today or tomorrow.

benedekh commented 7 years ago

@RMIT-s3529366-Hunton-Bowland The solution for the problem is pretty simple: put the keystore.jks file into the root folder of Secure_Storage_Service project, because that is the default working directory for JUnit in Eclipse, if you run the AllTests.java file. Btw the causes of the other failing tests were fixed.