Workshop: Add tests to an open source Rust project
Automated tests are a power multiplier as they help us make sure that changes to the code or to the environment don't have unintended changes in the results.
Therefore contributing tests to an open source project is very valuable.
It is usually also easier than contributing a feature or fixing a bug as you "only" need to know how to use the project, you don't have understand the code. At least not as deeply as you would need to make changes to the project.
During this hands on workshop you will learn how to find out what tests are missing, you will learn how to write a test and you will send a Pull-Request.
Prerequisite: You need to have an account on GitHub, you need to have your Rust tool-chain set up on your computer, you need to pick a crate, or other Rust project you'd like to contribute to.
We will do several steps. In each step:
I'll demonstrate what to do.
You will try to follow the what I did.
I'll help you with any issues you might encounter.