Posts Tagged ‘bdd’

What’s mining: Cucumber support

Wednesday, May 13th, 2009

We’ve heard a lot of buzz around Cucumber BDD framework during the RailsConf. We ourselves, think Cucumber is very interesting. Aslak Hellesøy (the author of the framework) has been presenting it on a session and the tool was mentioned on many other sessions and tutorials.

Aslak has also come to our booth to ask about our Cucumber support plans. We had not worked on it before the RailsConf. But…

We’ve been mining… during session breaks, during the flights back home and so on.

So, with the nearest update RubyMine will provide initial support for Cucumber. It will include the syntax highlighting for Cucumber steps and definition files. In RubyMine 1.1, scheduled before the end of May, will also add special run configurations and some more intelligence and assistance for testing with Cucumber.

Stay tuned for updates!

-JetBrains RubyMine Team

BDD with RSpec in RubyMine

Monday, March 23rd, 2009

We, at JetBrains in general, and in RubyMine team in particular, pay big attention to unit testing of our code. And as first users of our own products we try to make unit testing tightly integrated with the major development tasks adding features for easy test-code navigation, tests execution, etc.

Ruby and Rails developers have a great RSpec framework for doing behavior-driven development. We provide a good level of integration with RSpec in RubyMine for Ruby and for Rails projects. And the support for the latest RSpec 1.2 release is already available.

We captured a short screencast (5 mins) that demonstrates the development process when you start a feature with a test. The demo shows the useful features, shortcuts and shows off the RubyMine’s Test Runner UI. The features are demonstrated while adding new functionality to our real-live Exception Analyzer application.

Here is the couple of screenshots:


Code completion and quick doc lookup

RubyMine Test Runner UI


RubyMine also supports other test frameworks such as Test::Unit and test/spec.

View screencast online (5 min) or Download demo movie (27Mb, QuickTime)

Develop and test with pleasure using RubyMine!