-
Notifications
You must be signed in to change notification settings - Fork 34
Unit Tests: Update on Missing or Incomplete Unit Tests #146
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
Conversation
- All Add-Ons included in test definition - 7 Add-Ons currently unavailable in RFEM GUI, these Add-Ons were commented out in test definition - All remaining Add-On assertions passed test
- Concentrated varying load distributions updated. The delta_distance parameter is automatically calculated and thus does not need to be given from User. - All tests and assertions pass
- Same updates as per line loads for parameter inputs regarding 'relative distance' - Large proportion of function calls for all combinations of member loads (69 in total). These were all called without assertions. Creating furterh 69 assertions (min.) not deemed as necessary. Select assertions per member load type added
- Bugfix G-30467: Individual Mass Components - Asserts pertaining to this bug commented out - nodalLoad.py updated such that mass_global within else statement (which makes more sense since this only applies for if individual_mass_components == False)
- Asserts added. No issues or problems found
- Assertions added for unit test file - Bugs found and fixed for rotary motion load type
- Missing assertions added - DocStrings within thickness.py for layers needed some additional information - fictitious_thickness for shape orthotropy needs some attention. Commented out for now
- Assertions addedd. No issues.
- Assertions added. No issues
- Bug found in Surface.Membrane(). Default was set to TYPE_WITHOUT_THICKNESS. Changed to TYPE_MEMBRANE
- NOTE: Attention needs to be paid to DocStrings.
- Bug in the type assignment in surface.py corrected
- Minor bugs in surfacesetload.py fixed
SpectralAnalysisSettings parameter signed_results_using_dominant_mode doesn't work correctly test_DesignOverview and test_steelEffectiveLengths are solved in branch OndrejMichal_testsCorrection FAILED ..\Sources\RFEM_Python_Client_4\UnitTests\test_DesignOverview.py::test_designOverview - TypeError: 'int' object is not subscriptable FAILED ..\Sources\RFEM_Python_Client_4\UnitTests\test_SpectralSettings_test.py::test_spectral_analysis_settings - assert False == True FAILED ..\Sources\RFEM_Python_Client_4\UnitTests\test_steelEffectiveLengths.py::test_steelEffectiveLengths - suds.TypeNotFound: Type not found: 'no'
|
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue with SpectralAnalysisSettings parameter signed_results_using_dominant_mode waits on Olga.
UnitTests/test_modalAnalysis_test.py
Outdated
|
|
||
| Model.clientModel.service.finish_modification() | ||
|
|
||
| assert Model.clientModel.service.get_modal_analysis_settings(1).acting_masses_about_axis_x_enabled == False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ModalAnalysisSettings() doesn't work. All asserts are failing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Asserts are now passing :-)
|
All tests missing asserts are covered. Skipped were only those that pytest ignore (@pytest.mark.skipif). |
- Missing blank line, last line of scripts - Spectral analysis AddOn
…ithub.com/Dlubal-Software/RFEM_Python_Client into BjoernSteinhagen_UnitsTestsMissingAsserts
- Examining failing unit tests
…ithub.com/Dlubal-Software/RFEM_Python_Client into BjoernSteinhagen_UnitsTestsMissingAsserts
|
See main comment at top of pull request regarding status of skipped unit tests. |
…gen_UnitsTestsMissingAsserts
|
158 passed, 7 skipped in 199.21s version 6.02.0023.119.f2143bd6214 |
Current status: 155 passed, 9 skipped
9 skipped: