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

Improve regression test maintainability #155

Open
5 of 10 tasks
janssenhenning opened this issue Feb 21, 2022 · 0 comments
Open
5 of 10 tasks

Improve regression test maintainability #155

janssenhenning opened this issue Feb 21, 2022 · 0 comments
Labels
maintenance topic/test-system Issues related to the testing of aiida-fleur

Comments

@janssenhenning
Copy link
Contributor

janssenhenning commented Feb 21, 2022

Here I collect issues that need to be improved for easier maintenance of the regression tests.

  • Exclude test data from autoformatting in pre-commit (otherwise some changes will be done leading to lots of noise)
  • Exclude more files from calculations
    • struct.xsf
    • band.gnu
    • All the different config files profile.config, etc.
  • Normalize out.xml in some way. Maybe we prepare some script that does the normalization which we insert into the append text of the test code
    • Strip out timestamps (?)
    • Strip out compilation/build specific info
    • Only use export_cache or mock-code for one test. mock-code produces a lot of files for workflows so here export_cache is probably the way to go (for now the calculations folder is just put into the gitignore to remove them :))
    • Swallow logs At the moment a lot of logs are emitted for all tests
@janssenhenning janssenhenning added maintenance topic/test-system Issues related to the testing of aiida-fleur labels Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance topic/test-system Issues related to the testing of aiida-fleur
Projects
None yet
Development

No branches or pull requests

1 participant