タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

testとrspecとrubyに関するHashのブックマーク (3)

  • Transpec – The RSpec Syntax Converter

    A magical tool for converting your specs to the latest RSpec syntax. View on GitHub RSpec 3 readyTranspec lets you upgrade your RSpec 2 specs to RSpec 3 in no time. It supports conversions for almost all of the RSpec 3 changes, and it’s officially recommended by the RSpec team. Also, you can use it on your RSpec 2 project even if you’re not going to upgrade it to RSpec 3 for now. Robust conversion

  • PHP のテストを Ruby で書く « blog.udzura.jp

    皆さん、楽しくテスト書いてますか~~~ 今日は、 rack-legacy を使うことで、 PHP のアプリケーションなのになぜか Ruby のコードでテストできて(受け入れテストのあたりですけど)、そうすると物の RSpec とかが使えて楽ですよ、と言う話をします。 rack-legacy とは。 まず、 Rack とは、 Ruby 製のウェブアプリケーション(Ruby on Rails、Sinatraなどをご存知かもしれません)とサーバ(Apache/Passenger、NginX、Lighttpdなどなど…)をつなぐ一種の規格です。 PerlPython にも似たような仕組みがあります。 ここで、 Rack::Legacy というミドルウェアを使うと、他の言語の CGI や、 PHP のアプリケーションが Rack の上で動かせます。 そして、 Rack の上で動くということは

    Hash
    Hash 2013/04/17
    PHPUnit覚えるのだるいなーと思ってたのでこれ使ってみるか
  • Testing Vim Plugins on Travis CI with RSpec and Vimrunner

    I have been using Vim as my primary text editor for several years but it was only recently that I decided to try and write my own Vim plugin. My aim was simple: to create a function that would run the tests for whatever file I was working on. If the file was a test itself then simply run it but if it wasn’t, try to find the corresponding test and run that. Having heard Vim script (sometimes referr

    Hash
    Hash 2012/08/07
    AndrewがVimrunnerを開発しCucumberと組み合わせた。Paul MucurがVimrunnerをRSpecと一緒に使う方法を書いたのがこのブログ
  • 1