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

move tests to their packages directory #360

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

Conversation

T-256
Copy link

@T-256 T-256 commented Jun 12, 2024

No description provided.

@T-256
Copy link
Author

T-256 commented Jun 12, 2024

@microsoft-github-policy-service agree

@@ -35,7 +35,7 @@ Issues = "https://github.com/microsoft/lsprotocol/issues"
Source = "https://github.com/microsoft/lsprotocol"

[tool.flit.sdist]
include = ["lsprotocol/", "README.md", "LICENSE"]
include = ["lsprotocol/", "tests/", "README.md", "LICENSE"]
Copy link
Member

Choose a reason for hiding this comment

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

@T-256 Do you recommend including tests in the package? It will be incomplete as the generated test data, won't be part of it. It will get testing of special cases, if tests are run only with this package.

Copy link
Author

Choose a reason for hiding this comment

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

Do you recommend including tests in the package?

motivations here are same as other these python packages:
encode/httpx#2927
encode/httpcore#799

An usecase would be for package-indexing managers want to able test packages from sdist.

@karthiknadig karthiknadig self-assigned this Jun 12, 2024
@karthiknadig karthiknadig added the debt Technical debt or repo cleanup label Jun 12, 2024
@karthiknadig karthiknadig added this to the June 2024 milestone Jun 12, 2024
@karthiknadig karthiknadig modified the milestones: June 2024, July 2024 Jun 27, 2024
@karthiknadig karthiknadig modified the milestones: July 2024, August 2024 Jul 24, 2024
@karthiknadig karthiknadig removed this from the September 2024 milestone Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debt Technical debt or repo cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants