Skip to content

Refactor tests and metadata #307

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

Closed
wants to merge 6 commits into from

Conversation

norab0130
Copy link
Contributor

@norab0130 norab0130 commented Feb 1, 2025

Note

Tests will fail until the next release of pytest comes out due to getopt becoming deprecated for like 3 months

Reduce duplication of sample tests through parameterization, making pytest (and unittest) list the individual now-filterable tests (closes #260)

Replace duplicative testing of headers in boost's exclude.def with something where the --exclude parameter actually has an effect

Migrate setup.py to pyproject.toml (closes #249)

Make tox and CI use the newest py3 environment available so we don't have to manually update it every new py3 release

Use preferred .pytest.ini file instead of setup.cfg for configuring pytest per pytest customization docs
Remove "setup.py test" alias for pytest

Took the opportunity to lint CLI tests

Reduce duplication of sample tests through parameterization, making pytest (and unittest) list the individual tests

Replace duplicative testing of headers in boost's exclude.def with something where the --exclude parameter actually has an effect
no more chore manual updating envlists!
Migrate setup.py to pyproject.toml
Use preferred .pytest.ini file instead of setup.cfg for configuring pytest per pytest customization docs
Remove "setup.py test" alias for pytest
fix a typo in the bulleted list
remove specific python version
@cclauss
Copy link
Member

cclauss commented Mar 2, 2025

Let’s not hold this pull request up because we are worried about temporarily adding a linter directive.

@aaronliu0130
Copy link
Member

I see no problem with waiting until pylint is updated.

I've locally fixed a problem with testing on Windows, but that fix also broke testing on Linux... Will update progress.

@cclauss
Copy link
Member

cclauss commented Mar 3, 2025

Closing as discussed at #315 (comment)

@cclauss cclauss closed this Mar 3, 2025
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.

Split clitests Convert setup.py to a pyproject.toml
3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy