Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Factoring out cucumber-core?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Matt Wynne  
View profile  
 More options Oct 14 2009, 4:40 am
From: Matt Wynne <m...@songkick.com>
Date: Wed, 14 Oct 2009 09:40:11 +0100
Local: Wed, Oct 14 2009 4:40 am
Subject: [Refacoring] Factoring out cucumber-core?
A thought occurred to me today that a useful strategy for the  
refactoring, as well as pulling out gems for specific things like  
formatters, might be to to try to separate the core domain of Cucumber  
(parsing and executing features) from the CLI user-interface. We could  
pull out the core stuff into another gem and leave only the user-
interface stuff behind in the actual cucumber gem.

There are a few advantages to this separation:
  * it would force us to clean up the interface between the user-
interface (Cucumber::Cli::*) and the core feature parsing / running  
stuff, which right now is quite messy.
  * it would give us a clear place to start writing rdoc: for the core.
  * it would allow tools like testjour to depend on just the cucumber-
core gem, rather than having the UI stuff as well.
  * it might help people / us to think about building other UIs for  
Cucumber than the CLI.

WDYT?

cheers,
Matt Wynne

http://www.songkick.com
http://blog.mattwynne.net


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "[Refacoring] Factoring out cucumber-core?" by aslak hellesoy
aslak hellesoy  
View profile  
 More options Oct 14 2009, 4:53 am
From: aslak hellesoy <aslak.helle...@gmail.com>
Date: Wed, 14 Oct 2009 10:53:42 +0200
Local: Wed, Oct 14 2009 4:53 am
Subject: Re: [Cucumber:1819] [Refacoring] Factoring out cucumber-core?

I like this idea. But let's wait until we have replaced Treetop with
Gherkin. That will require quite a bit of internal refactoring and
things can get messy if we have two parallel refactoring efforts.

Let's call it 0.5 when we have Gherkin. Then we can do what you suggest for 0.6.

WDYT?

Aslak


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen Eley  
View profile  
 More options Oct 14 2009, 10:59 am
From: Stephen Eley <sfe...@gmail.com>
Date: Wed, 14 Oct 2009 10:59:29 -0400
Local: Wed, Oct 14 2009 10:59 am
Subject: Re: [Cucumber:1819] [Refacoring] Factoring out cucumber-core?

On Wed, Oct 14, 2009 at 4:40 AM, Matt Wynne <m...@songkick.com> wrote:

>  * it might help people / us to think about building other UIs for
> Cucumber than the CLI.

+1.  Maybe +2, if I get enough points for that.

--
Have Fun,
   Steve Eley (sfe...@gmail.com)
   ESCAPE POD - The Science Fiction Podcast Magazine
   http://www.escapepod.org


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Campbell  
View profile  
 More options Oct 14 2009, 11:03 am
From: Paul Campbell <p...@rslw.com>
Date: Wed, 14 Oct 2009 16:03:23 +0100
Local: Wed, Oct 14 2009 11:03 am
Subject: Re: [Cucumber:1841] Re: [Refacoring] Factoring out cucumber-core?
Definitely a good plan, although sometimes stuff like this sends a
mixed marketing message.

eg. Rails (ActiveRecord, ActionPack etc.)
merb-more, merb-core

I prefer the monolithic thing, where it would be

Cucumber (cucumber-cli, gherkin, cucumber-core)

rather than being generally "available" separately.

It makes no difference to the organisation of the code at the end of
the day, but I think it's important to the marketing message that it's
a coherent whole, albeit one that's very well organised into distinct
interoperating parts!

Paul

--

Paul Campbell
p...@rushedsunlight.com
- - - - - - - - - - - - - - - - - - -
blog http://www.pabcas.com
twitter http://www.twitter.com/paulca
github http://www.github.com/paulca
phone +353 87 914 8162
- - - - - - - - - - - - - - - - - - -


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim Meyer  
View profile  
 More options Oct 14 2009, 11:35 am
From: Jim Meyer <j...@geekdaily.org>
Date: Wed, 14 Oct 2009 08:35:57 -0700
Local: Wed, Oct 14 2009 11:35 am
Subject: Re: [Cucumber:1841] Re: [Refacoring] Factoring out cucumber-core?
On Oct 14, 2009, at 7:59 AM, Stephen Eley <sfe...@gmail.com> wrote:

> On Wed, Oct 14, 2009 at 4:40 AM, Matt Wynne <m...@songkick.com> wrote:

>>  * it might help people / us to think about building other UIs for
>> Cucumber than the CLI.

> +1.  Maybe +2, if I get enough points for that.

I'll loan you mine just in case.

+1

--j


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim Meyer  
View profile  
 More options Oct 14 2009, 11:42 am
From: Jim Meyer <j...@geekdaily.org>
Date: Wed, 14 Oct 2009 08:42:32 -0700
Local: Wed, Oct 14 2009 11:42 am
Subject: Re: [Cucumber:1844] Re: [Refacoring] Factoring out cucumber-core?
On Oct 14, 2009, at 8:03 AM, Paul Campbell <p...@rslw.com> wrote:

> Definitely a good plan, although sometimes stuff like this sends a
> mixed marketing message.

> eg. Rails (ActiveRecord, ActionPack etc.)
> merb-more, merb-core

> I prefer the monolithic thing, where it would be

> Cucumber (cucumber-cli, gherkin, cucumber-core)

> rather than being generally "available" separately.

If I follow you, you're saying that 'gem install cucumber' should  
install all the basics required to write and execute a feature from  
the command line as we do now; under the hood it's really a thin  
dependancy wrapper to install cucumber-{core,cli} and gherkin, which  
makes it easy for other gems to just pull in cucumber-core.

+1 for that, and apologies if I've got your intent wrong.

--j


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Sassak  
View profile  
 More options Oct 14 2009, 12:02 pm
From: Mike Sassak <msas...@gmail.com>
Date: Wed, 14 Oct 2009 12:02:28 -0400
Local: Wed, Oct 14 2009 12:02 pm
Subject: Re: [Cucumber:1820] Re: [Refacoring] Factoring out cucumber-core?
On Wed, Oct 14, 2009 at 4:53 AM, aslak hellesoy

Given some of the tickets I have opened, I think it's clear what my
opinion is on the matter: big +1. Especially for alternate UIs.

Greg and I are planning on bringing the pain, err... pair-programming
to Gherkin in the next few days, so hopefully 0.5 won't be (too) far
off.

Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Campbell  
View profile  
 More options Oct 14 2009, 12:23 pm
From: Paul Campbell <p...@rslw.com>
Date: Wed, 14 Oct 2009 17:23:15 +0100
Local: Wed, Oct 14 2009 12:23 pm
Subject: Re: [Cucumber:1846] Re: [Refacoring] Factoring out cucumber-core?

> If I follow you, you're saying that 'gem install cucumber' should
> install all the basics required to write and execute a feature from
> the command line as we do now; under the hood it's really a thin
> dependancy wrapper to install cucumber-{core,cli} and gherkin, which
> makes it easy for other gems to just pull in cucumber-core.

Exactly! Things "just work" great right now, and I think that it
should stay that way.

> +1 for that, and apologies if I've got your intent wrong.

> --j

--

Paul Campbell
p...@rushedsunlight.com
- - - - - - - - - - - - - - - - - - -
blog http://www.pabcas.com
twitter http://www.twitter.com/paulca
github http://www.github.com/paulca
phone +353 87 914 8162
- - - - - - - - - - - - - - - - - - -


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Wynne  
View profile  
 More options Oct 14 2009, 5:22 pm
From: Matt Wynne <m...@mattwynne.net>
Date: Wed, 14 Oct 2009 22:22:32 +0100
Local: Wed, Oct 14 2009 5:22 pm
Subject: Re: [Cucumber:1853] Re: [Refacoring] Factoring out cucumber-core?

On 14 Oct 2009, at 17:23, Paul Campbell wrote:

>> If I follow you, you're saying that 'gem install cucumber' should
>> install all the basics required to write and execute a feature from
>> the command line as we do now; under the hood it's really a thin
>> dependancy wrapper to install cucumber-{core,cli} and gherkin, which
>> makes it easy for other gems to just pull in cucumber-core.

> Exactly! Things "just work" great right now, and I think that it
> should stay that way.

Yes, that's exactly what I'm suggesting. I'd just like the layers  
underneath, should you care to look down there, to have clearer  
separation which will make Cucumber more extensible in the long game.

cheers,
Matt

+447974 430184
m...@mattwynne.net
http://blog.mattwynne.net


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »