question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

List of tests to add

See original GitHub issue

At the moment we only have last-frames tests. Although they are useful, it’s not enough. We would need to have tests for cli flags, that check videos, etc. This issue will keep a list of tests that need to be added. Please make more suggestions for tests!

Tests that need to be added

  • We should have at least one test for each CLI flag.
  • We should test that the cascading priorities in the config system work as expected. Ties in with #201
  • We should create a test to certify a clean install. See #11.
  • Testing video content
  • Test that manim runs correctly on all environments/prompts/versions #336
  • Regression test for #240
  • Test z-order stuff #327
  • Test to ensure MovingCamera and ZoomedScene let the camera move as they should. From #388 .
  • Test the functionality of asking the user for which scenes to render #523
  • There are no tests for the -s flag or the -t flag
  • Test for add_fixed_in_frame_mobjects which is used in 3D scenes #569, currently broken
  • Tests for SVG images
  • @XorUnison Once video tests are implemented reverse_direction should get one
  • @XorUnison Test for Brace
  • @PhilippImhof Graphical unit test for Text and MarkupText using a fixed font (TTF)

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
csrabakcommented, Sep 30, 2020

@leotrs :

The two subjects are well interconnected, we could say they’re conjoined twins ‼️

Adding tests if do not exercise all the control flow paths may give a sense of security when in fact are only redundancies.

That’s why coverage should be considered as integral part of the testing exercise.

my .01999…

1reaction
leotrscommented, Sep 30, 2020

I agree that coverage should be taken into account, I just meant to say that right now the priority should go to writing tests. If anyone is looking into implementing coverage, that time would 100% be better spent by implementing more tests, as of right now.

Having said that, if anyone wants to do that now, then by all means. But deciding upon one more tool should be discussed in a separate issue, and we should talk about a tool that works for doctests as well, at least.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The different types of testing in software | Atlassian
Compare different types of software testing, such as unit testing, integration testing, functional testing, acceptance testing, and more!
Read more >
Test Lists in Test Studio - Documentation
In a static test list you can add web, responsive web, WPF, load tests or combination of these, manual and performance tests. There...
Read more >
Top 20 Best Test Management Tools (New 2023 Rankings)
List of Best Test Management Tools. Here's a comparison and review of the most popular test management platforms available on the market:.
Read more >
Testing Lists Items With React Testing Library | Balavishnu V J
Let's see how we can test them using React Testing Library. We can explore that by an example by a list of Fruits....
Read more >
13 Best Test Automation Frameworks: The 2021 List
These stacks include Selenium, Appium, and TestNG. Cross-platform: It is not a surprise that Carina is a cross-platform automation framework ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found