Skip to content

checker: suite no bare testing.T #247

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

HaraldNordgren
Copy link

@HaraldNordgren HaraldNordgren commented Jun 16, 2025

Create checker to make sure that suite methods are not passing a bare testing.T.

@HaraldNordgren HaraldNordgren changed the title checker: suite no bare testing t checker: suite no testing t Jun 16, 2025
@HaraldNordgren HaraldNordgren marked this pull request as ready for review June 16, 2025 09:36
@HaraldNordgren
Copy link
Author

Ping @Antonboom, can I get some review here please? 🤗

@HaraldNordgren HaraldNordgren changed the title checker: suite no testing t checker: suite no bare testing.T Jun 16, 2025
@Antonboom
Copy link
Owner

Hi, @HaraldNordgren

Thank you for contribution!

Looks like improvement of #suite-method-signature or #suite-dont-use-pkg and not a separate checker.

In the next time I recommend to make issue first to avoid the extra work 🙂

What are your thoughts after taking into account the logic of the two checkers above?

@HaraldNordgren
Copy link
Author

HaraldNordgren commented Jun 24, 2025

Hi @Antonboom! Sorry I missed this, I changed my GitHub email routing and lost my email notifications for this thread 😬

I would suggest we put it in suite-dont-use-pkg primarily because that one supports auto-fixing.

Is it in any way a concern for you that one of these two previous checkers become too bloated after adding this functionality?

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.

2 participants