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
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.
-
You will need Ruby
-
Install Bundler
gem install bundler
- Install the required gems (Ruby libraries needed)
bundle install
- 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.
-
Edit the presentation files (presentation/presentation.md and the ruby files inside presentation/code directory)
-
Build the presentation
rake
-
Test the presentation: open
presentation/slides/presentation.html
in browser and enjoy. -
Explore what else you can do (export to pdf, open in browser etc)
rake -T