buildr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Boisvert" <boisv...@intalio.com>
Subject Re: Where do we put specs: src/test or src/spec?
Date Fri, 22 Feb 2008 18:06:07 GMT
Anyone knows what is the reasoning to separate unit tests and specs in
Rails?  Is there a good argument for separating them in
Java/Scala/Groovy/...?

And I'll throw in a twist.  Do you run unit tests first, then specs?   Or
vice-versa?  Does it matter?

alex


On 2/22/08, Matthieu Riou <matthieu@offthelip.org> wrote:
>
> I'd go for src/test because, even if specs are changing the way we test,
> it's still test. If tomorrow a new nice testing library comes up with new
> testing concepts are we going to create its own src/foo directory as well?
>
> Matthieu
>
> On Thu, Feb 21, 2008 at 1:20 PM, Victor Hugo Borja <vic.borja@gmail.com>
> wrote:
>
>
> > > Another one to
> > > look at is JBehave, although I can't tell if they have any
> > > conventions for directory structure.
> >
> >
> > Haven't used JBehave, IIRC the
> > jbehave.rb[1]<
> > https://issues.apache.org/jira/secure/attachment/12376069/jbehave.rb
> >from
> > John Layton just searches for *
> > Behaviour.class, compiled from src/test/java
> >
> > [1] https://issues.apache.org/jira/browse/BUILDR-49
> >
> > --
> > vic
> >
> > Quaerendo invenietis.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message