Presenters-0478: Difference between revisions

From CSDMS
Created page with "{{Presenters temp |CSDMS meeting event title=CSDMS 2020 Webinars |CSDMS meeting event year=2020 |CSDMS meeting presentation type=Webinar |CSDMS meeting webinar date=2020/03/17..."
 
m Text replacement - "\|CSDMS meeting youtube views=\{\{(Youtube_[^}]+)\}\}" to "|CSDMS meeting youtube views={{#explode:{{$1}}| |0}} |CSDMS meeting youtube AverageViews={{#explode:{{$1}}| |1}}"
 
(7 intermediate revisions by 4 users not shown)
Line 11: Line 11:
|CSDMS meeting state=Colorado
|CSDMS meeting state=Colorado
|CSDMS meeting email address=mark.piper@colorado.edu
|CSDMS meeting email address=mark.piper@colorado.edu
|CSDMS meeting title presentation=Level 2: Unit Testing
|CSDMS meeting title presentation=Level Up! Your Scientific Coding: Unit Testing
}}
}}
{{Presenters coauthors
{{Presenters coauthors
Line 22: Line 22:
}}
}}
{{Presenters presentation
{{Presenters presentation
|CSDMS meeting abstract presentation=--
|CSDMS meeting abstract presentation=Why is unit testing important? We'll consider this from the perspective of a grad student starting a research project, a postdoc scrambling to publish papers, a researcher starting a collaboration, and a professor leading a group of students and postdocs. (15 min)
|CSDMS meeting youtube code=0
 
 
Where can you find good, reliable information on unit testing? The internet is filled with content from others who have devoted their careers to this topic. We'll show you where we think are the best places to get more information. (5 min)
 
How does unit testing work? We'll give a concrete demonstration of unit testing in Python with pytest. Again, others have done this better, but seeing it in action may help you get a jump on using it yourself. (10 min)
|CSDMS meeting youtube code=akM_Z2smllw
|CSDMS meeting youtube views={{#explode:{{Youtube_akM_Z2smllw}}| |0}}
|CSDMS meeting youtube AverageViews={{#explode:{{Youtube_akM_Z2smllw}}| |1}}
|CSDMS meeting participants=0
|CSDMS meeting participants=0
}}
}}
{{Presenters keywords temp
{{Presenters keywords temp
|Presentation keywords=Unit Testing
|Presentation keywords=Unit Testing
}}
{{Presenters keywords temp
|Presentation keywords=Python
}}
{{Presenters keywords temp
|Presentation keywords=pytest
}}
}}
{{Presenters additional material
{{Presenters additional material
|Working group member=Terrestrial Working Group, Coastal Working Group, Marine Working Group, Education and Knowledge Transfer (EKT) Working Group, Cyberinformatics and Numerics Working Group, Hydrology Focus Research Group, Carbonates and Biogenics Focus Research Group, Chesapeake Focus Research Group, Critical Zone Focus Research Group, Human Dimensions Focus Research Group, Geodynamics Focus Research Group, Ecosystem Dynamics Focus Research Group, Coastal Vulnerability Initiative, Continental Margin Initiative, Artificial Intelligence & Machine Learning Initiative, Modeling Platform Interoperability Initiative
|Working group member=Terrestrial Working Group, Coastal Working Group, Marine Working Group, Education and Knowledge Transfer (EKT) Working Group, Cyberinformatics and Numerics Working Group, Hydrology Focus Research Group, Chesapeake Focus Research Group, Critical Zone Focus Research Group, Human Dimensions Focus Research Group, Geodynamics Focus Research Group, Ecosystem Dynamics Focus Research Group, Coastal Vulnerability Initiative, Continental Margin Initiative, Artificial Intelligence & Machine Learning Initiative, Modeling Platform Interoperability Initiative
}}
}}

Latest revision as of 16:34, 11 June 2025

CSDMS 2020 Webinars


Level Up! Your Scientific Coding: Unit Testing


Registration link: https://cuboulder.zoom.us/meeting/register/u5cuc-6uqjMj0DReg_jK0E-402d3TrmSGg

Mark Piper

Univ. of Colorado, INSTAAR, CSDMS, United States
mark.piper@colorado.edu
Benjamin Campforts Univ. of Colorado, INSTAAR, CSDMS United States


Abstract
Why is unit testing important? We'll consider this from the perspective of a grad student starting a research project, a postdoc scrambling to publish papers, a researcher starting a collaboration, and a professor leading a group of students and postdocs. (15 min)


Where can you find good, reliable information on unit testing? The internet is filled with content from others who have devoted their careers to this topic. We'll show you where we think are the best places to get more information. (5 min)

How does unit testing work? We'll give a concrete demonstration of unit testing in Python with pytest. Again, others have done this better, but seeing it in action may help you get a jump on using it yourself. (10 min)



Please acknowledge the original contributors when you are using this material. If there are any copyright issues, please let us know (CSDMSweb@colorado.edu) and we will respond as soon as possible.

Of interest for:
  • Terrestrial Working Group
  • Coastal Working Group
  • Marine Working Group
  • Education and Knowledge Transfer (EKT) Working Group
  • Cyberinformatics and Numerics Working Group
  • Hydrology Focus Research Group
  • Chesapeake Focus Research Group
  • Critical Zone Focus Research Group
  • Human Dimensions Focus Research Group
  • Geodynamics Focus Research Group
  • Ecosystem Dynamics Focus Research Group
  • Coastal Vulnerability Initiative
  • Continental Margin Initiative
  • Artificial Intelligence & Machine Learning Initiative
  • Modeling Platform Interoperability Initiative