Skip to content

Conversation

@eschultink
Copy link
Member

improved use of junit extensions, in lieu test helper classes

Change implications

  • breaking change to API? no
  • changes dependencies? no

@eschultink eschultink self-assigned this Jan 15, 2025

import static com.google.appengine.tools.pipeline.impl.util.GUIDGenerator.USE_SIMPLE_GUIDS_FOR_DEBUGGING;

import com.google.appengine.tools.test.DatastoreExtension;
Copy link
Contributor

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)
Copy link
Member

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?

Copy link
Member Author

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

Base automatically changed from s190-more-fixes to main January 23, 2025 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants