emory-courses / dsa-java

Data Structures and Algorithms in Java
https://emory.gitbook.io/dsa-java/
42 stars 55 forks source link

[QZ3] Gradle Testing Issue #73

Closed LukHan99 closed 3 years ago

LukHan99 commented 3 years ago

I encountered an issue that each time when I tried to run the testrobustness() method in the SortQuizTest class. the testing does not end and always ask me the same following sentence:

Publishing a build scan to scans.gradle.com requires accepting the Gradle Terms of Service defined at https://gradle.com/terms-of-service. Do you accept these terms? [yes, no]

and no matter whether I answer yes or no, the testing will end and turns out to be passed. However, I was unsure if that means my codes for the RadixSortQuiz() and ShellSortQuiz() are working or not. I also want to know what caused this message to pop up each time and how to get rid of it. Thanks!

Screen Shot 2020-10-02 at 06 42 13
lujiaying commented 3 years ago

It seems that you are trying to creating build scans. Is that what you want?

Otherwise, maybe try right click on the test file and only debug or run it.

LukHan99 commented 3 years ago

I might have clicked something related to build scans unintentionally when debugging, so are there any ways to fix this issue other than just running the whole test file?

lujiaying commented 3 years ago

Yes, it is possible to run only one test function.

Please refer to the tutorial: https://www.jetbrains.com/help/idea/performing-tests.html