Skip to content

crackofdusk/raisin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Read about the process of writing this library in the accompanying blog post.

Define a test suite by inheriting from Raisin::TestSuite and start all test names with test_.

require 'raisin/autorun'

class DummyTest < Raisin::TestSuite
  def test_equality
    assert_equal 'foo', %w(f o o).join
  end
end

By requiring the test auto-runner like in the example above, you can run the tests simply by executing the ruby script in which they are defined.

Run the tests with

ruby test/raisin.rb

About

Self-testing test library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages