A starter setup for partipants of the Coding Black Females Test-Driven Development workshop
This setup uses the programming language Ruby, and the testing tool RSpec.
-
If you don't have Ruby installed, please follow the instructions here: https://www.codecademy.com/articles/ruby-setup. Install Ruby version 2.4.2 or above, instead of 2.2.0.
-
Please ensure you have a code editor installed on your machine, such as VS Code.
-
Please ensure you're comfortable navigating directories using the
cd
command in the terminal / command line
- Clone this repo or download it to your machine using the following link: https://github.com/CodingBlackFemales/intro-to-tdd-workshop/archive/refs/heads/main.zip
- If downloaded, unzip the file into a directory of your choice
- Open the directory in your code editor
- Open the terminal. In VS Code, this can be done by navigating to the menu at the top and selecting:
Terminal > New Terminal
- There are two sub-directories within the directory called
fizzbuzz
andleap_year
. In your terminal, navigate to one of the subdirectories, and run the following to install the required packages:bundle install
- To check the installation was successful, enter the following to run the tests:
rspec
orrspec -f d
- Repeat steps 5-6 for the other directory
Ruby Skeleton: A basic starter Ruby project setup, with RSpec https://github.com/CodingBlackFemales/ruby-skeleton/
Kata List: A list of exercises you can try with your TDD skills https://github.com/gamontal/awesome-katas
Workshop Exercise Solutions: Step-by-step solutions for the fizzbuzz and leap year exercises