8000 Improvement: Added Additional Testing for Skills by IllianiBird · Pull Request #6896 · MegaMek/mekhq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Improvement: Added Additional Testing for Skills #6896

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

Merged
merged 4 commits into from
May 7, 2025

Conversation

IllianiBird
Copy link
Collaborator

With the amount of new skills that have been recently added I'm really aware of how fragile our skill addition is. It's a lot of manual entry with a fair amount of stuff that can go wrong.

With a mind to making the process more secure I went ahead and added a handful of tests. These tests will run on every skill type and ensure full skill validity.

@IllianiBird IllianiBird self-assigned this May 7, 2025
@IllianiBird IllianiBird added the Tests Issues or Pull Requests related to the project tests label May 7, 2025
Copy link
codecov bot commented May 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.57%. Comparing base (518f07d) to head (abfad44).
Report is 26 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6896      +/-   ##
============================================
- Coverage     11.57%   11.57%   -0.01%     
- Complexity     6610     6618       +8     
============================================
  Files          1100     1100              
  Lines        141034   141080      +46     
  Branches      21846    21845       -1     
============================================
+ Hits          16329    16333       +4     
- Misses       123004   123047      +43     
+ Partials       1701     1700       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Scoppio Scoppio merged commit fb65205 into MegaMek:master May 7, 2025
6 checks passed
@IllianiBird
Copy link
Collaborator Author

Thank you Past Illiani for adding these tests. They proved immediately useful when I accidentally deleted two skills and we'd have likely not noticed for months.

@IllianiBird IllianiBird deleted the skillTypeTests branch June 7, 2025 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tests Issues or Pull Requests related to the project tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0