ArduPilot / ArduPilot/MethodicConfigurator

Regression test coverage has dropped below 90%

Open
#1,954 3 comments 0 reactions 1 assignee Claimed by @amilcarlucas View on GitHub
bug help wanted maintenance python
Dominant language
Python
Stars
157
Forks
71
Avg merge
21h 26m
Merged PRs (30d)
55

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Description of the bug

Our CI automated regression test suite code coverage has dropped below 90%

Previously it was 95% but lately we have added so much new code that the tests are lagging behind.

### Steps To Reproduce

Look at the pytest coverage reports:
```bash
pytest --cov=ardupilot_methodic_configurator --cov-report=term-missing
```

Much of the code in the plugins and log_analysis directories is WIP and can lag for now.
But the code coverage in the ardupilot_methodic_configurator directory should be above 95% on all files.
@iacker @yashhzd can you help?

There is a skill that should help a lot: `.github/skills/pytest-testing/SKILL.md`

### Expected behavior

Coverage of the files in the ardupilot_methodic_configurator should be above 95%

### Screenshots / Logs

_No response_

### Software information

- Operating system: All
- arduPilot Methodic Configuration version: latest

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.