-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Comments
It would be quite hard to write BitmapClip tests for all of the effects, I think. Although you did manage with |
I have found it much easier to use ColorClip in tests for |
Closing as these checklists are very out-of-date now that 2.0 is out. Test coverage is now at 86% 💪 (possibly due to obsolete code being removed as much as tests being added... but hey!) |
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:
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.
The text was updated successfully, but these errors were encountered: