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 test coverage #2045

Open
12 tasks
isimo00 opened this issue Dec 20, 2024 · 1 comment
Open
12 tasks

Improve test coverage #2045

isimo00 opened this issue Dec 20, 2024 · 1 comment
Assignees
Milestone

Comments

@isimo00
Copy link

isimo00 commented Dec 20, 2024

While working on the expid functions + attaching log files to warning emails #1997, we found that codecov bot detected a significant bunch of lines in autosubmit.py that aren't covered by tests. This issue will focus on fixing this.

Codecov bot showing poor coverage. Although not related to this issue, tests the following autosubmit.py funcitons should be added:

  • _init_logs. Lines 864 to 940 (EOF)
  • run_experiment. Lines 2154 to 2156
  • monitor. Lines 2606 to 2612 and 2739 to 2753
  • clean. Lines 2865 to 2869
  • recovery. Lines 2921 to 2927 and 3042 to 3043
  • check. Lines 3120 to 3123
  • report. Lines 3180 to 3187
  • pkl_fix. Lines 4012 to 4017
  • archive. Lines 4231 to 4257 and 4275 to 4301
  • unarchive. Lines 4347 to 4361
  • create. Lines 4586 to 4588
  • set_status. Lines 5136 to 5141 and 5370 to 5371
@isimo00 isimo00 self-assigned this Dec 20, 2024
@kinow
Copy link
Member

kinow commented Dec 20, 2024

Thank you @isimo00 !

@kinow kinow added this to the 4.1.13 milestone Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants