Skip to content
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

prevent test.only #24235

Merged
merged 3 commits into from
Oct 3, 2024
Merged

prevent test.only #24235

merged 3 commits into from
Oct 3, 2024

Conversation

amunger
Copy link

@amunger amunger commented Oct 3, 2024

I almost checked in a change to disable all tests again. This will prevent that

@amunger amunger added debt Covers everything internal: CI, testing, refactoring of the codebase, etc. skip tests Updates to tests unnecessary labels Oct 3, 2024
@amunger amunger marked this pull request as ready for review October 3, 2024 18:17
@vs-code-engineering vs-code-engineering bot added this to the September 2024 milestone Oct 3, 2024
"plugins": [
"@typescript-eslint",
"no-only-tests"
],
Copy link

@anthonykim1 anthonykim1 Oct 3, 2024

Choose a reason for hiding this comment

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

I had #24161 with

"mocha/no-exclusive-tests": "error"

Is the one mentioned in this PR more general? I don't know which one is necessarily better/ more broader.

Copy link
Author

Choose a reason for hiding this comment

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

as long as it works in the python ext correctly, we should probably use yours if it matches with what vscode is doing

Choose a reason for hiding this comment

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

vscode had something like

"local/code-no-test-only": "error", 

but I couldnt figure out where the part ""local/code" was coming from, and just saw/tested with mocha/no-execlusive-tests works. I think we can still use your no-only-tests though. For me that looks more generalized/better since we seem to have combination of different tests in Python repo.

@amunger amunger merged commit 4b37abd into main Oct 3, 2024
77 checks passed
@amunger amunger deleted the aamunger/lintRule branch October 3, 2024 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debt Covers everything internal: CI, testing, refactoring of the codebase, etc. skip tests Updates to tests unnecessary
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants