-
Notifications
You must be signed in to change notification settings - Fork 26
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
Refactor the automated UI tests for easier maintenance #1083
Conversation
Signed-off-by: Paul Gooderham <[email protected]>
Signed-off-by: Paul Gooderham <[email protected]>
Signed-off-by: Paul Gooderham <[email protected]>
1582c4a
to
72304f3
Compare
Signed-off-by: Paul Gooderham <[email protected]>
@turkeylurkey I noticed this PR has moved away from an object oriented solution to state managed by static fields. When you were describing the refactoring I had imagined the state would be managed by an instance of the test class (e.g. set in the constructor) or some other object. Imagine a JUnit test runner that runs test cases in parallel. How would that work now? I don't think it would. Maybe that's not the best example for tests which drive a single UI but wondering if you considered keeping this OO before you went down this path. |
Signed-off-by: Paul Gooderham <[email protected]>
Signed-off-by: Paul Gooderham <[email protected]>
Signed-off-by: Paul Gooderham <[email protected]>
@mrglavas Good points. I made the tests more OO. |
src/test/java/io/openliberty/tools/intellij/it/GradleSingleModMPProjectTest.java
Show resolved
Hide resolved
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.
Looks good now. Thanks!
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.
Looks Good to me
The new copyright headers specify year 2023 which is the correct year.
Fixes #1082