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

Python testing with pytest #46

Open
ma595 opened this issue Mar 2, 2023 · 0 comments · May be fixed by #45
Open

Python testing with pytest #46

ma595 opened this issue Mar 2, 2023 · 0 comments · May be fixed by #45
Labels
Priority:Low Low Priority Issue or PR

Comments

@ma595
Copy link

ma595 commented Mar 2, 2023

ONEFlux does not currently have any automated testing of python code. We intend to update the ONEFlux Python code to python3 (see #8 ..). Unittest tests exist, but serve to check the importing of ONEFlux only.

ONEFlux would benefit from the implementation of a GitHub workflow in which the following is done automatically upon the submission of a pull request (PR).

  • Build oneflux
  • Gather example data US-ARc_sample_input
  • Execute integration test - possibly partitioning_nt.py step

This runs an integration test. Unit testing can be done in the same way. I would suggest using pytest as an alternative to Unittest.

@ma595 ma595 linked a pull request Mar 2, 2023 that will close this issue
11 tasks
@gilbertozp gilbertozp added the Priority:Low Low Priority Issue or PR label Mar 29, 2023
@gilbertozp gilbertozp moved this to Priority:Low in ONEFlux-Priorities Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:Low Low Priority Issue or PR
Projects
Status: Priority:Low
Development

Successfully merging a pull request may close this issue.

2 participants