-
Notifications
You must be signed in to change notification settings - Fork 0
S191 cleanup junit extensions #25
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
base: main
Are you sure you want to change the base?
Conversation
|
|
||
| import static com.google.appengine.tools.pipeline.impl.util.GUIDGenerator.USE_SIMPLE_GUIDS_FOR_DEBUGGING; | ||
|
|
||
| import com.google.appengine.tools.test.DatastoreExtension; |
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.
used?
|
|
||
| @Getter | ||
| String bucket; | ||
| @Getter @Setter(onMethod_ = @BeforeEach) |
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.
is the (onMethod_ = @BeforeEach) really needed?
Shouldn't it be injected in the extension in the same way the bucket is done?
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.
this is using a junit ParameterResolver to do it.
The String bucket thing is done with reflection by our own class
improved use of junit extensions, in lieu test helper classes
Change implications