Skip to content

CodingBlackFemales/intro-to-tdd-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Intro to TDD Solutions

Solutions for the Coding Black Females Test-Driven Development workshop exercises (FizzBuzz and Leap Year)

Getting Started

This setup uses the programming language Ruby, and the testing tool RSpec.

  1. If you don't have Ruby installed, please follow the instructions here: https://www.codecademy.com/articles/ruby-setup. Note: Install Ruby version 2.4.2 or above, instead of 2.2.0.

  2. Please ensure you have a code editor installed on your machine, such as VS Code.

  3. Please ensure you're comfortable navigating directories using the cd command in the terminal / command line

Installation

  1. Clone this repo, or download it to your machine using the following link: https://github.com/CodingBlackFemales/intro-to-tdd-solutions/archive/refs/heads/main.zip
  2. If downloaded, unzip the file into a directory of your choice
  3. Open the directory in your code editor
  4. Open the terminal. In VS Code, this can be done by navigating to the menu at the top and selecting: Terminal > New Terminal
  5. There are two sub-directories within the directory called fizzbuzz and leap_year. In your terminal, navigate to one of the subdirectories, and run the following to install the required packages: bundle install
  6. To check the installation was successful, enter the following to run the tests: rspec or rspec -f d
  7. Repeat steps 5-6 for the other directory

Helpful Resources

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

Intro To TDD Starter Setup repo: https://github.com/CodingBlackFemales/intro-to-tdd-workshop/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages