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

PR: Add tests for gapfill_weather_gui.py, gapfill_weather_algorithm2.py, and manager_data.py #101

Merged
merged 26 commits into from
Nov 29, 2017

Conversation

jnsebgosselin
Copy link
Owner

@jnsebgosselin jnsebgosselin commented Nov 28, 2017

  • Write tests for gapfill_weather_gui.py
  • Write tests for gapfill_weather_algorithm2.py
  • Write tests for manager_data.py

These modules were almost not covered by the test suite and are crucial for GWHAT to run properly. Writing tests for these modules has become important for preventing bugs to creep in the code when doing modifications.

Indeed, this PR allowed to fixed some bugs that were introduced in the recent changes:

Also:

  • A function was also added the utils module to delete the content of a folder recursively.

@jnsebgosselin jnsebgosselin changed the title PR: Write tests for manager_data.py PR: Write tests for manager_data.py and gapfill_weather_gui.py Nov 28, 2017
@jnsebgosselin jnsebgosselin changed the title PR: Write tests for manager_data.py and gapfill_weather_gui.py PR: Write tests for gapfill_weather_gui.py, gapfill_weather_algorithm2.py, and manager_data.py Nov 29, 2017
@jnsebgosselin jnsebgosselin changed the title PR: Write tests for gapfill_weather_gui.py, gapfill_weather_algorithm2.py, and manager_data.py PR: Add tests for gapfill_weather_gui.py, gapfill_weather_algorithm2.py, and manager_data.py Nov 29, 2017
@jnsebgosselin jnsebgosselin merged commit b50ae12 into master Nov 29, 2017
@jnsebgosselin jnsebgosselin deleted the test_manager_data branch November 29, 2017 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant