Welcome to the code and content repository of the hands-on session Code Testing, part of the TrainTrack of the OHBM BrainHack 2021
No matter which language your programming depends on, bugs inevitably exist even for experienced coders. For beginners, how to test code and make it run to completion is of utmost importance to build up their coding confidence.
In this session, we will go through the necessary tools and some tips for efficient debugging/programming with Python. You will be assigned into small groups to get familiar with reading errors and handling exceptions, try-out the debugger tools, and end up with a practice in code testing for regression analysis and simple machine learning protocol.
By the end of this session, you should be able to do the following:
- Use google colab for python programming
- Understand errors and exceptions
- Set up exploratory testing and automated testing
- Be aware of good programming habit
The sessions follows these slides step by step.
All materials could be downloaded from google drive as well.