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

Remove C based integration tests #1526

Merged
merged 5 commits into from
Feb 4, 2025

Conversation

swick
Copy link
Contributor

@swick swick commented Dec 4, 2024

Includes
#1523
#1524
#1525

This is a draft because we should probably keep the C tests around for a bit and make sure the python tests are working as they should. Couldn't resist deleting so much code though...

@swick swick force-pushed the wip/pytest-remove-c-tests branch 8 times, most recently from a7329e1 to ca49bdb Compare December 4, 2024 21:42
@swick swick force-pushed the wip/pytest-remove-c-tests branch 2 times, most recently from 01d4cb7 to fb99dac Compare January 7, 2025 18:50
@swick swick force-pushed the wip/pytest-remove-c-tests branch 2 times, most recently from 09c7564 to e8fdde9 Compare January 21, 2025 17:28
@swick swick marked this pull request as ready for review January 21, 2025 17:40
@swick
Copy link
Contributor Author

swick commented Jan 21, 2025

This one is ready for review. It depends on #1594 (the document portal tests that I seem to have missed).

Copy link
Contributor

@whot whot left a comment

Choose a reason for hiding this comment

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

Slightly handwavy LGTM though note the possibly missing asserts, the rest are just nitpicks

tests/README.md Outdated Show resolved Hide resolved
tests/README.md Outdated Show resolved Hide resolved
tests/__init__.py Outdated Show resolved Hide resolved
tests/__init__.py Outdated Show resolved Hide resolved
tests/test_documents.py Outdated Show resolved Hide resolved
tests/test_documents.py Outdated Show resolved Hide resolved
@swick swick force-pushed the wip/pytest-remove-c-tests branch 2 times, most recently from a1675bc to 8a81cb2 Compare January 29, 2025 11:30
@swick
Copy link
Contributor Author

swick commented Jan 29, 2025

The python changes here already made it into the main branch. I just forgot to rebase this PR.

Created a PR with the issues you spotted: #1610

@GeorgesStavracas
Copy link
Member

There's a file conflict with this PR

swick added 5 commits February 4, 2025 12:45
Instead of seperating them on the fact that some are C and some are
python, seperate them by what kind of tests they are.

In this case, all C tests are unit tests and all pytest tests are
integration tests.
@swick swick force-pushed the wip/pytest-remove-c-tests branch from 8a81cb2 to 35b5822 Compare February 4, 2025 12:02
@swick
Copy link
Contributor Author

swick commented Feb 4, 2025

Rebased and renamed the test suite from pytest to integration.

@GeorgesStavracas GeorgesStavracas added this to the 1.20 milestone Feb 4, 2025
@GeorgesStavracas GeorgesStavracas added the tests Test suite label Feb 4, 2025
@GeorgesStavracas GeorgesStavracas added this pull request to the merge queue Feb 4, 2025
Merged via the queue into flatpak:main with commit e8a7a43 Feb 4, 2025
5 checks passed
@swick
Copy link
Contributor Author

swick commented Feb 4, 2025

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Test suite
Projects
No open projects
Status: Needs Triage
Development

Successfully merging this pull request may close these issues.

3 participants