/unittesting-with-minitest

A presentation about how to get started with Unit Testing in Ruby using MiniTest

Primary LanguageRubyMIT LicenseMIT

Unit Testing with Minitest

This is a presentation about how to get started with Unit Testing in Ruby using Minitest.

You can enjoy it online at http://xarisd.io/presentations/unittesting-with-minitest

About this repository

Here you can find the source of the slides used for the presentation along with the tooling needed to build them.

Presentation is made with slideshow (s9) gem and reveal.js HTML Presentation Framework.

How to build/test the presentation

  1. You will need Ruby

  2. Install Bundler

gem install bundler
  1. Install the required gems (Ruby libraries needed)
bundle install
  1. Install the s9 template for reveal.js

You need to install manualy the slideshow-reveal.js template in order to build the presentation.

For instructions see here: https://github.com/avillafiorita/slideshow-reveal.js#installation.

  1. Edit the presentation files (presentation/presentation.md and the ruby files inside presentation/code directory)

  2. Build the presentation

rake
  1. Test the presentation: open presentation/slides/presentation.html in browser and enjoy.

  2. Explore what else you can do (export to pdf, open in browser etc)

rake -T

Tools used