are test cases written in Groovy or Java?

View: New views
4 Messages — Rating Filter:   Alert me  

are test cases written in Groovy or Java?

by HamletDRC :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How do you know when to write a test case in Groovy of Java?

Left on my own, I would probably just write them all in Groovy.

--
Hamlet D'Arcy
hamletdrc@...

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


--
Hamlet D'Arcy

Re: are test cases written in Groovy or Java?

by Peter Niederwieser :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I suggest to write them in Groovy, unless there is a specific reason not to. Groovy should eat its own dog food.
Two related questions which we should probably agree on (for trunk):
 - JUnit 4 or GroovyTestCase?
 - Power assertions or assertion API?

Cheers,
Peter

HamletDRC wrote:
How do you know when to write a test case in Groovy of Java?

Left on my own, I would probably just write them all in Groovy.

--
Hamlet D'Arcy
hamletdrc@gmail.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email




-----
--
Hamlet D'Arcy

Re: are test cases written in Groovy or Java?

by Jochen Theodorou :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Peter Niederwieser schrieb:
> I suggest to write them in Groovy, unless there is a specific reason not to.
> Groovy should eat its own dog food.
> Two related questions which we should probably agree on (for trunk):
>  - JUnit 4 or GroovyTestCase?
>  - Power assertions or assertion API?

I prefer GroovyTestCase and Groovy asserts (in 1.7 then power asserts).

bye blackdrag


--
Jochen "blackdrag" Theodorou
The Groovy Project Tech Lead (http://groovy.codehaus.org)
http://blackdragsview.blogspot.com/


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: are test cases written in Groovy or Java?

by Alex Tkachman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

100% agree with Jochen

On Sun, Jun 28, 2009 at 5:55 PM, Jochen Theodorou<blackdrag@...> wrote:

> Peter Niederwieser schrieb:
>>
>> I suggest to write them in Groovy, unless there is a specific reason not
>> to.
>> Groovy should eat its own dog food.
>> Two related questions which we should probably agree on (for trunk):
>>  - JUnit 4 or GroovyTestCase?
>>  - Power assertions or assertion API?
>
> I prefer GroovyTestCase and Groovy asserts (in 1.7 then power asserts).
>
> bye blackdrag
>
>
> --
> Jochen "blackdrag" Theodorou
> The Groovy Project Tech Lead (http://groovy.codehaus.org)
> http://blackdragsview.blogspot.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email