Skip to content

Move testing -> testr, deprecate, alias old names#140

Merged
pohly merged 1 commit intogo-logr:masterfrom
thockin:testing_testr
Mar 17, 2022
Merged

Move testing -> testr, deprecate, alias old names#140
pohly merged 1 commit intogo-logr:masterfrom
thockin:testing_testr

Conversation

@thockin
Copy link
Contributor

@thockin thockin commented Mar 15, 2022

This avoids the pkg name overlap with standard "testing".

Fixes #138

Copy link
Contributor

@pohly pohly left a 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 klog/ktesting just got released, so as you are touching that line I added a suggestion for it.

I'm also wondering about best practices for constructor function namining.

This avoids the pkg name overlap with standard "testing".
Copy link
Contributor Author

@thockin thockin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New push with changes is up! Thanks.

Copy link
Contributor

@pohly pohly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll give @rollulus some days to also look at this and then merge it.

Copy link

@rollulus rollulus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for this and thanks in general forlogr!

@pohly pohly merged commit b359493 into go-logr:master Mar 17, 2022
@thockin
Copy link
Contributor Author

thockin commented Mar 17, 2022

I tagged v1.2.3 with this

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.

Would it be possible to rename pkg testing?

3 participants