루비스펙

RubySpec
루비스펙
기록 위치루비
유형Ruby 프로그래밍 언어 사양 테스트
웹사이트www.rubyspec.org Edit this on Wikidata

RubySpec 프로젝트는 Ruby 프로그래밍 언어에 대한 완전한 실행 가능한 사양을 작성하는 것을 목표로 했다.이 프로젝트에는 루비어 구문과 표준 도서관 수업을 설명하는 스펙이 포함되어 있다.이 프로젝트에는 두 가지 주요 구성 요소가 포함되어 있다.

  • 루비스펙의 출처
  • MSpec 틀

RubySpec 테스트 스위트는 기준 적합성 도구로서 1.8.6/1.8.7/1.9 동작의 대부분을 포착했다.Ruby MRI 1.9.2는 RubySpec의 99% 이상을 통과했고 2.2.0 버전은 테스트 중 하나에서 추락했다.[1][2]

역사

RubySpec 테스트는 Rubinius 프로젝트를 위해 2006년에 처음 만들어졌으며, JRuby 프로젝트로부터 상당한 기여를 받았다.[3]현재는 아이언루비 등 다른 루비 구현 프로젝트에서도 사용되고 있다.[4]루비스펙 프로젝트는 주류 루비 개발자들의 이해가 부족해 2014년 말 중단됐다.[2]

이후 Benoit Daloze에 의해 "The Ruby Spec Suite"로 부활했으며, 2018-04-20년 현재 https://github.com/ruby/spec에서 활발하게 유지되고 있다.

참조

  1. ^ "Ruby 1.9.2 is released". Retrieved 2010-10-23.
  2. ^ a b "Matz's Ruby Developers Don't Use RubySpec and It's Hurting Ruby". Retrieved 2015-01-13.
  3. ^ "RubySpec". Retrieved 2010-10-23. The project began as part of Rubinius (now sponsored by Engine Yard) and most of the work was done by contributors to Rubinius, with significant contribution by JRuby collaborators. Engine Yard has provided extensive financial support for this project, employing Evan Phoenix since June 2007 and several more full-time developers since January 2008. See History for more details of the project's timeline.
  4. ^ "RubySpec". Retrieved 2010-10-23. The IronRuby GIT repo includes a copy of the RubySpec tests, including the MSpec test framework, under External.LCA_RESTRICTED\Languages\IronRuby\mspec. This makes it easy to modify existing tests or write new tests, and fix the bugs in the IronRuby sources, all in a single commit to the IronRuby repo.