- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
speaking of testing
Mon, 2009-03-30, 21:56
i've always liked the idea of not having to repeat myself, along the
lines of how Spock avoids it.
Tue, 2009-03-31, 02:37
#2
Re: speaking of testing
> Since spock is Groovy, what do you like about
> it better than easybe's approach?
in truth, i have used neither. :-}
Hi Raoul,
On Tue, Mar 31, 2009 at 4:56 AM, Raoul Duke wrote:
> i've always liked the idea of not having to repeat myself, along the
> lines of how Spock avoids it.
>
> http://code.google.com/p/spock/
>
I have something that's currently private in ScalaTest that looks a
bit like this. It is private because it isn't finished yet. But I
think it looks a bit more currently like an easyb (Groovy) story:
http://www.easyb.org/storyexmpls.html
This is basically an internal DSL for writing
integration/functional/acceptance tests. I also quite like Ruby's
Cucumber, and want to add in ScalaTest the ability to write parsers
for its Gherkin language in Scala:
http://cukes.info/
This is an external DSL for the same thing, writing
integration/functional/acceptance tests. The difference is the
internal DSL would be written by a programmer, possibly sitting aside
a biz domain person. The external DSL could be written by the biz
person themselves.
I was talking to an easyb guy about which approach is better, and he
said he thought the important thing was to get the programmers talking
to the biz domain folks. Since spock is Groovy, what do you like about
it better than easybe's approach?
Bill