Skip to content

CodingBlackFemales/ruby-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Skeleton

A basic starter setup for Ruby, with RSpec

Getting Started

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

Installation

  • Clone this repo, or download this repo's contents to your machine using the following link: https://github.com/CodingBlackFemales/ruby-skeleton/archive/refs/heads/main.zip
  • Unzip this file into a directory of your choice
  • Open your code editor, and navigate to the directory
  • Open the terminal in your code editor
  • To install RSpec, in your terminal run bundle install
  • Feel free to keep lib/greeting.rb and spec/greeting_spec.rb as a reference, or replace them with your own files

Tests

Running Tests

In your terminal, run:

rspec

To run tests displaying the test name, run:

rspec -f d

Starting The Application

If you'd like to mess around with code in the lib directory, you can require it in the bin/console file and run the following in the terminal:

bin/console

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages