No commit activity in last 3 years
No release in over 3 years
aop for ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 0
 Project Readme

roap_test_helper

Roap을 이용한 테스트 프레임워크입니다.
주석에 작성된 예제 코드들과 테스팅을 연동시킬 수 있도록 도와줍니다.

Installation

gem install roap_test_helper

Extension Attributes

  • test-me [args] => result

    class Foo
      #test-me [4,1] => 5
      def self.sum a,b
        return a+b
      end
    end
  • @example &block #=> result

    class Foo
      # @example
      #   v = Foo.new
      #   v.zoo "MILK", "DOT" #=> "MILKDOT"
      def zoo msg1, msg2
        return msg1 + msg2
      end
    end

Usage

options = [:suppress_stdout, :stop_on_failure]

Roap::TestHelper::test_all *options