-
-
Notifications
You must be signed in to change notification settings - Fork 755
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
chore: Include more tests into the pipeline #1566
Conversation
jdkArchitectureOption: 'x64' | ||
publishJUnitResults: true | ||
tasks: 'build' | ||
options: 'miscTest -x checkstyleTest -x test -x signMavenJavaPublication' |
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.
options: 'miscTest -x checkstyleTest -x test -x signMavenJavaPublication' | |
options: 'miscTest -x checkstyleTest -x test' |
it seems exclusion of signMavenJavaPublication
is not needed anymore
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.
was not sure about this one. How do you see it's not needed?
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'm running it locally without exclusion and it doesn't fail
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.
but CI could differ, so it's just my assumption
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.
Created PR to check the assumption: #1568, all builds are passed.
… into align_tests
@@ -33,6 +35,11 @@ public BaseMapOptionData(Map<String, Object> options) { | |||
this.options = options; | |||
} | |||
|
|||
public BaseMapOptionData(String json) { | |||
//noinspection unchecked | |||
this((Map<String, Object>) new Gson().fromJson(json, Map.class)); |
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 it would be better to convert Gson
object to a static field and reuse it here and in methods toJson()
and toString()
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.
done
@Test | ||
public void canBuildXcuiTestOptions() throws MalformedURLException { | ||
XCUITestOptions options = new XCUITestOptions(); | ||
assertEquals(options.getPlatformName(), Platform.IOS); |
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.
asssertEquals
accepts expected
as the first parameter and actual
as the second parameter
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.
and it seems it's relevant to all assertions in this class
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.
fixed
… into align_tests # Conflicts: # azure-pipelines.yml
Change list
Some tests exist but never get executed by the CI.
Types of changes