Presenters-0478

From CSDMS
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