Giter VIP home page Giter VIP logo

ruby_rspec's Introduction

TDDBC for Ruby with RSpec

これは、TDDBCのRuby向けRSpecプロジェクトです。

Build Status

動作確認環境

  • ruby 2.1以降

セットアップ

gem install bundler
bundle install

rspec コマンドを実行して

$ rspec

Sample
  #say
    Using expect to
      should say 'Hello TDD BootCamp!'
    Using subject it should
      should eq "Yeah! TDD BootCamp!"

Finished in 0.00218 seconds (files took 0.1389 seconds to load)
2 examples, 0 failures

のようにテストが正常終了すればOKです。

ライブラリ

guard コマンドを実行すると入力待ちの状態になるので、あとはファイルが変更される度にテストが実行されます

OSごとに下記のソフトを入れるとテスト結果がOS毎の通知欄に表示されます

Windows

notifu: http://www.paralint.com/projects/notifu/

Mac

growl: http://growl.info/

他Unix系(Linux, FreeBSD, OpenBSD and Solaris)

libnotify: https://developer.gnome.org/libnotify/

ruby_rspec's People

Contributors

joker1007 avatar ogom avatar shishi avatar sue445 avatar toshi-kawanishi avatar twada avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.