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

Write a test-suite with source/expected outputs. #178

Open
Carreau opened this issue Oct 20, 2022 · 2 comments
Open

Write a test-suite with source/expected outputs. #178

Carreau opened this issue Oct 20, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@Carreau
Copy link
Member

Carreau commented Oct 20, 2022

We come across a number of edge case when parsing pieces of RST, so we do have custom logics.
Currently we rerun papyri on all of numpy/scipy and make sure it does not crash.

A better test harness would have a number of example snippets, and expected AST tree, and the test suite should compare that we are not regressing.

We should also have an easy to reach command line when the examples are wrong, and need to be updated.

@Carreau
Copy link
Member Author

Carreau commented Oct 20, 2022

This has been started as part of #177

@melissawm melissawm added the enhancement New feature or request label Oct 26, 2023
@melissawm
Copy link
Collaborator

Make sure to mock contents so there is no required installation/generation/ingesting of real modules before running test suite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants