The Wayback Machine - https://web.archive.org/web/20201206100642/https://github.com/Zulko/moviepy/issues/1355
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

Add more tests #1355

Open
tburrows13 opened this issue Oct 15, 2020 · 0 comments
Open

Add more tests #1355

tburrows13 opened this issue Oct 15, 2020 · 0 comments

Comments

@tburrows13
Copy link
Collaborator

@tburrows13 tburrows13 commented Oct 15, 2020

The test coverage is currently at 67%. It would be good to be able to automatically test more things in the test suite. You can see which files are covered at https://coveralls.io/github/Zulko/moviepy (or PyCharm has a test coverage plugin that can be enabled).

In particular:

  • some effects in moviepy/video/fx are not tested at all in their respective test function in test_fx.py.
  • video/compositing/transitions.py
  • audio/fx/audio_fadein and audio_fadeout

For the video tests it is better to use BitmapClip because it allows you to test pixel-perfect effects. But generally just testing that an action can be performed without crashing is better than nothing.

@tburrows13 tburrows13 changed the title More tests Add more tests Oct 15, 2020
@tburrows13 tburrows13 mentioned this issue Oct 28, 2020
0 of 3 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.