Skip to content
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 testing #522

Open
wyozi opened this issue Oct 11, 2021 · 0 comments
Open

Add testing #522

wyozi opened this issue Oct 11, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers Hacktoberfest

Comments

@wyozi
Copy link
Owner

wyozi commented Oct 11, 2021

There's currently a very limited set of tests for e2e pptx generation. Since these tests are a relatively nice way of ensuring that library functionality does what's expected, it would be nice to have many more of them. See https://github.com/wyozi/react-pptx/blob/master/src/index.spec.tsx#L205 for an example

Some test ideas:

  • Test that every node type appears in the slide (Text, Shape etc)
  • Test master slides
  • Test percentage dimensions mapping to absolute values
  • Test pptx layouts
  • Test color mapping to .pptx colors
@wyozi wyozi added enhancement New feature or request good first issue Good for newcomers Hacktoberfest labels Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers Hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant