Skip to content

Set up tests with PyTest and/or Travis #33

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

Closed
kilacoda-old opened this issue May 20, 2020 · 3 comments
Closed

Set up tests with PyTest and/or Travis #33

kilacoda-old opened this issue May 20, 2020 · 3 comments
Labels
enhancement Additions and improvements in general infrastructure Anything related to our infrastructure testing Anything related to testing the library

Comments

@kilacoda-old
Copy link
Contributor

As the title says, set up tests with PyTest and/or Travis, so that we can create the workflow.

Tests may basically include a Scene in which the Mobject in question is self.added/self.played into the scene, rendered at -s or -l.

@kilacoda-old kilacoda-old added this to the PyPI Release 1.0.0 milestone May 20, 2020
@leotrs
Copy link
Contributor

leotrs commented May 20, 2020

I think one thing to discuss is which framework to use for testing. I am partial to pytest.

A different issue is how to automate them. I like Travis-CI for this.

A different issue is what the tests will test for. I agree that for now we should target to run some boilerplate manim code without errors. We can check for correctness later (see #34).

@leotrs leotrs added enhancement Additions and improvements in general infrastructure Anything related to our infrastructure testing Anything related to testing the library labels May 20, 2020
@leotrs
Copy link
Contributor

leotrs commented May 22, 2020

Per #43, once we setup Travis, we will also set up pylint and black.

We still need to choose a testing framework. I suggest pytest (again).

@leotrs
Copy link
Contributor

leotrs commented May 26, 2020

#86 closed this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Additions and improvements in general infrastructure Anything related to our infrastructure testing Anything related to testing the library
Projects
None yet
Development

No branches or pull requests

2 participants