-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/upgrade gradle to 8 #125
Conversation
f7df931
to
91f91b2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also squash commits / bring them a bit into order.
|
||
<description>Provides support for navigation between JGiven scenario states.</description> | ||
<change-notes> | ||
The plugin now supports IntelliJ version 2022.2. | ||
</change-notes> | ||
<vendor email="matthias.klass@tngtech.com" url="http://www.tngtech.com">TNG Technology Consulting GmbH</vendor> | ||
|
||
<idea-version since-build="163.6110.112"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you increase this? Do you know use APIs only available since then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess so. The IntelliJ plugin basicly stated in the build that it would increase the number, and I thought, well, then we can also increase it manually. I'd wager that the change in question was the addition to the constructor
@@ -1,64 +0,0 @@ | |||
package com.tngtech.jgiven.reference |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make this test work again? Are you sure this test never worked?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It failed on master. I can double check if you want to
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or to be more precise, it was not exectuted on master, and when I made it, it failed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still it would be nice to have the test again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with you. But as I detailed below, I have no working system to Jump off of, and I am not knowledgeable enough to rewrite this test from scratch.
with: | ||
java-version: 11 | ||
java-version: 17 | ||
distribution: 'adopt' | ||
- name: Build with Gradle | ||
run: ./gradlew buildPlugin test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least here tests were executed...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
./gradlew buildPlugin test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so, I guess we're again talking about the ScenarioUserProviderTest...
I captured a screenshot from master, to show that this particular test is in fact not picked up:
If I annotate with @Test
the following happens:
I guess we have a bug somewhere in the software responsible for picking up those tests, because one annotation sufficed to activate all four tests.
I tried this with JVM 11 as the backing machine. (JVM -8 seemed to be already incompatible). In any case, the issue with this test is that the LibraryTestUtil cannot find the source code location:
My guess is, however, that this is an important part of the test and I have absolutely no idea on how to replicate such a feature. If you can be of any help here, I would greatly appreciate it.
I would like to ask for some guidance here; I can squash them, but we are doing three somewhat connected updates here so that may not be a good idea. And in my opinion, they are in the order of "update something; try to fix all complaints; update something else". I don't no what kind of order you would prefer. |
Well there are various infrastructure upgrades, that can be grouped. I guess we don't need three commits updating Gradle, do we? |
The updates are not quite independent though. For instance, the newest intellij Plugin talks about Java 17 requirements and I think the old kotlin version (or was it the old intelliJ plugin) was incompatible with Gradle-8. So I cannot reorder or squash commits partially. I can, if you wish, squash everything into one commit, and name it "Grand build system refurbishment" |
4e0bcce
to
2d09f77
Compare
According to the docs, the supplier is for a screen reader so I figured that giving the supplier the text value would be helpful. Signed-off-by: l-1sqared <30831153+l-1squared@users.noreply.github.com>
apparently these tests weren't executed on master but for a reason I don't understand, they are picked up with a newer gradle version. Signed-off-by: l-1sqared <30831153+l-1squared@users.noreply.github.com>
Signed-off-by: l-1sqared <30831153+l-1squared@users.noreply.github.com>
Signed-off-by: l-1sqared <30831153+l-1squared@users.noreply.github.com>
Signed-off-by: l-1sqared <30831153+l-1squared@users.noreply.github.com>
Signed-off-by: l-1sqared <30831153+l-1squared@users.noreply.github.com>
Signed-off-by: l-1sqared <30831153+l-1squared@users.noreply.github.com>
Signed-off-by: l-1sqared <30831153+l-1squared@users.noreply.github.com>
…anyway Signed-off-by: l-1sqared <30831153+l-1squared@users.noreply.github.com>
Signed-off-by: l-1sqared <30831153+l-1squared@users.noreply.github.com>
Signed-off-by: l-1sqared <30831153+l-1squared@users.noreply.github.com>
required by IntelliJ anyway. Signed-off-by: l-1sqared <30831153+l-1squared@users.noreply.github.com>
Signed-off-by: l-1sqared <30831153+l-1squared@users.noreply.github.com>
Signed-off-by: Christian Oertel <christian.oertel@tngtech.com> Signed-off-by: l-1sqared <30831153+l-1squared@users.noreply.github.com>
According to my (limited) understanding, without adding JGiven as a module the tests depending on it will not function. Therefore, continuing without a library is nonsensical. Furthermore if JGiven is supposed to be present it must be present as a jar (because tha's what we publish), therefore there is no use in trying maybe add Jgiven as a collection of class files (this should only be the case if we were in the same project) Signed-off-by: l-1sqared <30831153+l-1squared@users.noreply.github.com>
2d09f77
to
fff9ef7
Compare
No description provided.