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

[skip-changelog] Migrate tests from test_config.py to config_test.go #1898

Merged
merged 26 commits into from
Oct 7, 2022

Conversation

MatteoPologruto
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)

What kind of change does this PR introduce?

Infrastructure enhancement

What is the new behavior?

This PR is a followup to PR #1806
Integration tests that were previously present in test_config.py have been rewritten in config_test.go, without changing their original purpose.
More informations on the tests can be found checking the single commits.

Does this PR introduce a breaking change, and is titled accordingly?

No


See how to contribute

@MatteoPologruto MatteoPologruto added type: enhancement Proposed improvement topic: infrastructure Related to project infrastructure labels Sep 28, 2022
@MatteoPologruto MatteoPologruto self-assigned this Sep 28, 2022
@codecov
Copy link

codecov bot commented Sep 28, 2022

Codecov Report

Base: 36.65% // Head: 36.61% // Decreases project coverage by -0.04% ⚠️

Coverage data is based on head (4e3aec2) compared to base (2480d93).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1898      +/-   ##
==========================================
- Coverage   36.65%   36.61%   -0.05%     
==========================================
  Files         231      231              
  Lines       19683    19683              
==========================================
- Hits         7215     7206       -9     
- Misses      11640    11648       +8     
- Partials      828      829       +1     
Flag Coverage Δ
unit 36.61% <ø> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
arduino/monitor/monitor.go 41.05% <0.00%> (-4.74%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@MatteoPologruto MatteoPologruto marked this pull request as ready for review September 28, 2022 15:42
@MatteoPologruto
Copy link
Contributor Author

Converting this PR back to drafting stage since test_config.py was modified in PR #1902. I'll mark it again as ready for review when I'll finish applying the changes to the go testsuite as well.

@MatteoPologruto MatteoPologruto marked this pull request as draft October 5, 2022 12:45
@MatteoPologruto MatteoPologruto marked this pull request as ready for review October 7, 2022 09:22
@MatteoPologruto
Copy link
Contributor Author

The content of PR #1902 has been migrated.

@MatteoPologruto MatteoPologruto merged commit 0e0b615 into arduino:master Oct 7, 2022
@MatteoPologruto MatteoPologruto deleted the config-test-go branch October 7, 2022 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants