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

pytest integration #415

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

pytest integration #415

wants to merge 30 commits into from

Conversation

cav71
Copy link
Contributor

@cav71 cav71 commented Feb 24, 2022

This is "preliminary" pytest port of the testlib.py code, leveraging pytest and its ecosystem.

It supports running all (unchanged) tests (tm-cases, markdowntest-cases, php-markdown-cases and php-markdown-extra-cases).

pytest itself provides extensive support for code quality (coverage, unitest xml etc.).

This change also integrates the workflow actions.

@nicholasserra
Copy link
Collaborator

What's the reason for this?

@cav71
Copy link
Contributor Author

cav71 commented Feb 25, 2022

Mostly to leverage the pytest ecosystem (coverage, performance etc). Pytest interact well with the major IDEs, which is a nice bonus. I dropped this pull request to show some proof of concept and if there is any interest.

@cav71
Copy link
Contributor Author

cav71 commented Feb 27, 2022

@nicholasserra now the test runs an all major platform / python versions https://github.com/cav71/python-markdown2/actions/runs/1904662952 and there is a branch ready with the coverage for it https://github.com/cav71/python-markdown2/tree/coverage-support
Please let me know if these changes are of any interest.

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.

None yet

2 participants