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

Create run_tests.py #8720

Merged
merged 16 commits into from Dec 26, 2023
Merged

Create run_tests.py #8720

merged 16 commits into from Dec 26, 2023

Conversation

Grub4K
Copy link
Member

@Grub4K Grub4K commented Dec 6, 2023

IMPORTANT: PRs without the template will be CLOSED

Description of your pull request and other information

This devscript helper is the replacement for the batch and bash variants, and allows you to:

  • use pytest pattern matching using run_tests.py -k ...
  • run marked tests using run_tests.py core, run_tests.py download
  • run extractor tests easily using run_tests.py CrunchyrollBeta CrunchyrollBeta_2

Updates to the developer docs should be done. pytest should probably also be advertised as a dependency for developers there if not already

Template

Before submitting a pull request make sure you have:

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

  • I am the original author of this code and I am willing to release it under Unlicense
  • I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

@Grub4K Grub4K added the docs/meta/cleanup related to docs, code cleanup, templates, devscripts etc label Dec 6, 2023
devscripts/run_tests.py Outdated Show resolved Hide resolved
devscripts/run_tests.py Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
devscripts/run_tests.py Outdated Show resolved Hide resolved
@Grub4K Grub4K marked this pull request as ready for review December 25, 2023 17:06
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
@Grub4K Grub4K merged commit 2d1d683 into yt-dlp:master Dec 26, 2023
15 checks passed
@Grub4K Grub4K deleted the feat/run-tests branch December 26, 2023 17:33
aalsuwaidi pushed a commit to aalsuwaidi/yt-dlp that referenced this pull request Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs/meta/cleanup related to docs, code cleanup, templates, devscripts etc
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants