forked from sepehrkrz/nwmurl
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Unit test-cases #32
Merged
Merged
Unit test-cases #32
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pytest.ini is required in order to run the test with `pytest` instead of just `python -m pytest`.
Add the pytest ini
Created pytest.ini
removed filenamelist.txt in test folder removed urlgennwm.py in test folder added `write_to_file` var changed function call from `generate_urls` to `generate_urls_operational`
(pyenv310) nwmurl % pytest
=========================================================== test session starts ============================================================
platform darwin -- Python 3.10.12, pytest-7.4.2, pluggy-1.3.0
rootdir: /Users/user/git/nwmurl
configfile: pytest.ini
plugins: anyio-3.6.1
collected 67 items
test/test_analysisAssim.py . [ 1%]
test/test_analysisAssimExtend.py . [ 2%]
test/test_analysisAssimExtendNoDa.py . [ 4%]
test/test_analysisAssimHawaii.py . [ 5%]
test/test_analysisAssimHawaiiNoDa.py . [ 7%]
test/test_analysisAssimNoDa.py . [ 8%]
test/test_analysisAssimPuertorico.py . [ 10%]
test/test_analysisAssimPuertoricoNoDa.py . [ 11%]
test/test_cases.py ................................... [ 64%]
test/test_forcingAnalysisAssim.py . [ 65%]
test/test_forcingAnalysisAssimExtend.py . [ 67%]
test/test_forcingAnalysisAssimHawaii.py . [ 68%]
test/test_forcingAnalysisAssimPuertorico.py . [ 70%]
test/test_forcingMediumRange.py . [ 71%]
test/test_forcingShortRange.py . [ 73%]
test/test_forcingShortRangeAssimHawaii.py . [ 74%]
test/test_forcingShortRangeAssimPuertorico.py . [ 76%]
test/test_longRangeMem1.py . [ 77%]
test/test_longRangeMem2.py . [ 79%]
test/test_longRangeMem3.py . [ 80%]
test/test_longRangeMem4.py . [ 82%]
test/test_mediumRangeMem1.py . [ 83%]
test/test_mediumRangeMem2.py . [ 85%]
test/test_mediumRangeMem3.py . [ 86%]
test/test_mediumRangeMem4.py . [ 88%]
test/test_mediumRangeMem5.py . [ 89%]
test/test_mediumRangeMem6.py . [ 91%]
test/test_mediumRangeMemNoDa.py . [ 92%]
test/test_mediumRangeNoDa.py . [ 94%]
test/test_shortRange.py . [ 95%]
test/test_shortRangeAssimHawaii.py . [ 97%]
test/test_shortRangeAssimPuertorico.py . [ 98%]
test/test_shortRangeAssimPuertoricoNoDa.py . [100%]
============================================================ 67 passed in 0.87s ========================================================= |
manjirigunaji
pushed a commit
to manjirigunaji/nwmurl
that referenced
this pull request
Jan 22, 2024
Update python-publish.yml var and sec
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I developed the unit test cases for individual folders and I've encountered that few folders don't exist in the nwmurl script. But these are the testcases for the one which exist.