Skip to content

Add minimal tests #22

Closed
Closed
@leotrs

Description

@leotrs

Before starting any major changes (including high priority ones such as #6), we need a way of testing that our changes do not break the basic functionality of the library. Simply put, I'm afraid to move or touch some files as it is unclear to me whether something will break.

For this, I suggest we start with minimal tests that consist in compiling a handful of scenes, put them in a new file called test/test_example_scenes.py, and we run the test by manually running manim over them. If the scenes look the way they should, then we are good to go. These scenes can be the ones that currently live in sample_scenes.py, for example.

Of course, this is no replacement for a full testing framework, but it should at least be a minimal guarantee that our coming changes are not completely screwing up the library.

Metadata

Metadata

Labels

enhancementAdditions and improvements in generaltestingAnything related to testing the library

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions