ManimCommunity / ManimCommunity/manim

Use existing tests with the opengl renderer

Open
#2,077 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement opengl
Dominant language
Python
Stars
40.9k
Forks
3.1k
Avg merge
3d 12h
Merged PRs (30d)
25

Description

## Enhancement proposal

As part of the opengl transition we should make sure that as many of the existing tests are reused with the opengl renderer. This will give us more confidence in the transition and could show up any bugs we might have missed. Some tests will need tweaked slightly, so I think we should duplicate the cairo tests, make changes needed and have them run with the opengl renderer. It also means we can simply delete the cairo tests when we deprecate it rather than needing to remove part of the code from inside the files

## Additional comments

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing Cairo renderer tests and the OpenGL renderer test entry points. Review which tests can be reused unchanged and which need adjustments; done means the relevant existing coverage runs against OpenGL and the adapted tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.