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

Split serde-de tests into several files and add new serde-se tests #657

Merged
merged 5 commits into from
Sep 24, 2023

Conversation

Mingun
Copy link
Collaborator

@Mingun Mingun commented Sep 23, 2023

This PR slightly reorganizes out test suite:

Tests for sequences occupies over 4000 lines of code.
Tests for enums occupies about 1000 lines of code.

Since these tests are loosely related, it makes sense to separate
them into separate files to speed up compilation
After moving tests to separate files indentation level was lowered, so some reformatting is needed
@codecov-commenter
Copy link

Codecov Report

Merging #657 (a2060e9) into master (efb2dc0) will increase coverage by 0.10%.
Report is 2 commits behind head on master.
The diff coverage is 100.00%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

@@            Coverage Diff             @@
##           master     #657      +/-   ##
==========================================
+ Coverage   64.36%   64.47%   +0.10%     
==========================================
  Files          36       36              
  Lines       17343    17315      -28     
==========================================
+ Hits        11162    11163       +1     
+ Misses       6181     6152      -29     
Flag Coverage Δ
unittests 64.47% <100.00%> (+0.10%) ⬆️

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

Files Changed Coverage Δ
src/se/element.rs 98.25% <100.00%> (+0.07%) ⬆️
src/se/key.rs 96.72% <100.00%> (-0.08%) ⬇️
src/se/simple_type.rs 98.03% <100.00%> (-0.02%) ⬇️

... and 2 files with indirect coverage changes

@Mingun Mingun added the serde Issues related to mapping from Rust types to XML label Sep 24, 2023
@Mingun Mingun merged commit 7866cf1 into tafia:master Sep 24, 2023
6 checks passed
@Mingun Mingun deleted the reorganize-tests branch September 24, 2023 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
serde Issues related to mapping from Rust types to XML
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants