Functions and Classes in Python

Using Github, Testing and Continuous Integration

If you have started writing programmes in Python and are not already using version control to manage your code and testing to validate it's behaviour, you need to start. This lesson will revise use of git to manage your code and documents to help you keep track of changes and collaborate with your colleagies. It covers the key techniques used in professional software development to allow you to work efficiently and confidently.

Prerequisites:

To complete this lesson you should be familiar with:

  • Writing programs in Python
  • Working on the command line
  • Using git for version control
  • Wanting to make sure that your code is correct

Schedule:

Time Episode Description
0:00 Review Git How to run git from a Jupyter notebook
0:10 Workflows Revise git commands and workflows
0:20 Branching Create, modify and merge branches
0:35 Remotes Synching with remotes on Github
0:50 Rull_requests How to collaborate with pull requests
1:10 Testing What is testing?
1:20 Running Pytest Running your tests with Pytest
1:40 Writing Pytests Writing test for pytest
2:00 Edge and Corner Cases What are edge/corner cases
2:20 Advanced Testing Creating more complicated tests
2:40 Continuous Integration Automate your testing

Setup:

Log on to notebooks.azure.com, clone the lesson library and click Run on Free ... to start the lesson.