Skip to content

History / What is RSpec? How do I create unit tests for Ruby code?

Revisions

  • Add two more links to "further reading" section.

    @DeeDeeG DeeDeeG committed Jun 24, 2020
  • Explain the functions and eywords better, closer to how they actually work. More in-depth, hopefully not too intimidating, but the existing explanations were so simplistic as to not be accurate.

    @DeeDeeG DeeDeeG committed Jun 24, 2020
  • Add a link that explains the basic structure of RSpec tests

    @DeeDeeG DeeDeeG committed Jun 24, 2020
  • Update URL of passing RSpec run, as Travis CI has changed the way they form their URLs, and the redirect was stripping the line number anchor from the URL.

    @DeeDeeG DeeDeeG committed Jun 24, 2020
  • Example test is now actual text, rather than an embedded image of text. (This is better for screen-reader accessibility and low-vision accessibility.)

    @DeeDeeG DeeDeeG committed Sep 23, 2018
  • Major rework, almost a total re-write. There's more information now, and better examples. Hopefully it's more engaging, and easier to read.

    @DeeDeeG DeeDeeG committed Apr 26, 2017