Skip to content

pjc0247/roap_test_helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages