The future of Culerity/Celerity

152 views
Skip to first unread message

jnicklas

unread,
Feb 9, 2011, 2:48:31 AM2/9/11
to Capybara
Hopefully we'll be able to hit a 1.0 release candidate in a couple of
weeks. With that in mind, I'd like to discuss the Celerity and
Culerity drivers. We have an alternative now, Akephalos, which in my
opinion is strictly better. I personally never use those drivers
anymore.

I'd personally like to split out these drivers into a separate
repository. The resulting gem would probably be called capybara-
celerity. I would make sure that this new gem is compatible with
Capybara 1.0, but after that I would abandon maintainance of the gem.
If someone else wants to take it over, I would appreciate that a lot.

Basically the plan is to phase out celerity/culerity support out of
Capybara.

Thoughts?

/Jonas

Phillip Koebbe

unread,
Feb 9, 2011, 7:17:59 AM2/9/11
to ruby-c...@googlegroups.com

Short answer: +1

Long answer:

I have a growing suite that is currently comprised of 150 scenarios
(1170 steps), of which 19 scenarios (180 steps) are JavaScript
dependent. The number of JS dependent steps will continue to grow, and
the suite will continue to slow down. I had been using Culerity with
JRuby 1.5.6 and Nailgun, but not having those external processes to
manage is nice. I did notice that Akephalos is slower in Ruby 1.8.7, but
faster in Ruby 1.9.1 (I am planning on moving to 1.9.2 soon, but can't
yet). Besides the speed advantage in 1.9.1, I also get my application
tested in 1.9.1 whereas with JRuby 1.5.6, the application is actually
running in 1.8.7. I tried JRuby 1.6.0.RC1 yesterday, but the Nailgun
server wouldn't launch in 1.9 mode. That's when I decided to switch to
Akephalos. And I was very pleasantly surprised when my entire suite
passed with no changes.

I uninstalled C[eu]lerity and got errors about needing Capybara >=
0.3.5, so I assumed that they must be installed at this point. So if
splitting them out will remove the need for them to be installed at all,
then yes, I'm in favor.

For the record, my opinion is that C[eu]lerity are awesome tools and I'm
grateful for all the work that has gone into them. Thanks to Jari, Alex
and everyone else that brought them to us!

Peace,
Phillip

Phillip Koebbe

unread,
Feb 9, 2011, 7:21:46 AM2/9/11
to ruby-c...@googlegroups.com

On 2011-02-09 6:17 AM, Phillip Koebbe wrote:
>
> Besides the speed advantage in 1.9.1, I also get my application tested
> in 1.9.1 whereas with JRuby 1.5.6, the application is actually running
> in 1.8.7.

Actually, I don't know if this is correct. Can anyone confirm/deny the
actual version of Ruby that the application is running under with Akephalos?

Peace,
Phillip

Bernerd Schaefer

unread,
Feb 9, 2011, 9:24:08 AM2/9/11
to ruby-c...@googlegroups.com
Actually, I don't know if this is correct. Can anyone confirm/deny the actual version of Ruby that the application is running under with Akephalos?

The application is booted from within the spec / cucumber suite just like other drivers, so it will be run with whatever ruby version you're currently using. Akephalos itself will run with jruby in 1.8 mode, which is fine since no application code is executed directly against the remote akephalos process. I also run the akephalos suite with 1.8 and 1.9 to ensure there aren't any problems communicating over DRb between a 1.9 process and the jruby process.

Bernerd 
 

Jonas Nicklas

unread,
Feb 9, 2011, 10:48:11 AM2/9/11
to ruby-c...@googlegroups.com
> For the record, my opinion is that C[eu]lerity are awesome tools and I'm grateful for all the work that has gone into them. Thanks to Jari, Alex and everyone else that brought them to us!

Absolutely! They are fantastic tools, I hope no one takes my original
message as an offense, I'm interested in Capybara being as simple to
maintain as possible and having as few dependencies as possible.
Splitting out those drivers is a step in that direction, and I really
do hope someone does take over maintainance.

Phillip Koebbe

unread,
Feb 9, 2011, 11:39:55 AM2/9/11
to ruby-c...@googlegroups.com

On 2011-02-09 9:48 AM, Jonas Nicklas wrote:
>> For the record, my opinion is that C[eu]lerity are awesome tools and I'm grateful for all the work that has gone into them. Thanks to Jari, Alex and everyone else that brought them to us!
> Absolutely! They are fantastic tools, I hope no one takes my original
> message as an offense, I'm interested in Capybara being as simple to
> maintain as possible and having as few dependencies as possible.
> Splitting out those drivers is a step in that direction, and I really
> do hope someone does take over maintainance.

Heh. I didn't take your message that way, but like you, I didn't want
anyone to think that by switching to Akephalos I was implying that
C[eu]lerity aren't valuable.

Just trying to give credit where credit is due. I hope I didn't
inadvertently imply that Jonas was being thoughtless.

Peace,
Phillip

Jari Bakken

unread,
Feb 9, 2011, 5:36:27 PM2/9/11
to ruby-c...@googlegroups.com
> On 2011-02-09 9:48 AM, Jonas Nicklas wrote:
>>>
>>> For the record, my opinion is that C[eu]lerity are awesome tools and I'm
>>> grateful for all the work that has gone into them. Thanks to Jari, Alex and
>>> everyone else that brought them to us!
>>
>> Absolutely! They are fantastic tools, I hope no one takes my original
>> message as an offense, I'm interested in Capybara being as simple to
>> maintain as possible and having as few dependencies as possible.
>> Splitting out those drivers is a step in that direction, and I really
>> do hope someone does take over maintainance.
>

No offense taken. This sounds like a wise move for Capybara, and
personally I've shifted focus to selenium-webdriver since HtmlUnit
unfortunately didn't provide the necessary realism for the legacy app
I'm testing. I'm happy that it works well for others though :)

Gabriel Sobrinho

unread,
Feb 10, 2011, 6:25:10 AM2/10/11
to ruby-c...@googlegroups.com
I agree and I can help with these drivers after your release.

Call me if you would help.


Cheers

Gabriel Sobrinho

unread,
Mar 8, 2011, 2:58:38 PM3/8/11
to ruby-c...@googlegroups.com

Jonas Nicklas

unread,
Mar 10, 2011, 4:54:58 PM3/10/11
to ruby-c...@googlegroups.com, Gabriel Sobrinho
And merged!

Thanks for putting in the work Gabriel. Hopefully the drivers will
continue to be useful to people, and it'll be easier to maintain
Capybara. I feel pretty good about this change :)

/Jonas

Reply all
Reply to author
Forward
0 new messages