Totally off topic, but I once worked on a Java project where some of the tests 
were written in groovy and they were a huge PITA:

1) The refactoring tools never found, nor refactored the groovy code
2) The compilation errors introduced by 1) never showed up in my IDE
3) Having to relate to tests I didn’t know about in a language I don’t care 
about when I thought I was done was not great for my general mood at the time

I used to think that sneaking in another language by using it in the test-code 
was a stellar idea. Now I’m quite certain it isn’t. 

Erik. 
-- 
i farta

> 11. jun. 2018 kl. 21:55 skrev Rick Mangi <r...@chartbeat.com>:
> 
> Next time you have to write unit tests for java, give groovy a try. It has a 
> lot of features that make this easy, 1 line map construction, overriding of 
> private methods, super easy to make mocks. There's definitely some weird 
> syntax, and it's slow, but I'm fine using it for glue or scripting.
> 
> 
>> On Mon, Jun 11, 2018 at 3:48 PM Gregg Reynolds <d...@mobileink.com> wrote:
>> 
>> 
>>> On Mon, Jun 11, 2018, 2:44 PM Rick Mangi <r...@chartbeat.com> wrote:
>>> Believe it or not, I actually like groovy a lot. I used to use it to write 
>>> unit tests for java code. It's very easy to learn.
>> 
>> 
>> Will wonders never cease? I had to learn a bit of groovy a while back while 
>> dealing with Gradle, and came to hate it. Maybe I just have a bad attitude - 
>> I blame Clojure!
>>> 
>>>> On Mon, Jun 11, 2018 at 3:40 PM Gregg Reynolds <d...@mobileink.com> wrote:
>>>> 
>>>> 
>>>>> On Mon, Jun 11, 2018, 2:30 PM <r...@chartbeat.com> wrote:
>>>> 
>>>> ...
>>>>> We're starting to lean towards gradle 
>>>> 
>>>> 
>>>> You do understand that that means you have to deal with groovy? ;)
>>>> 
>>>> Fwiw I've been working with Bazel a lot lately and I would never go back.
>>>> 
>>>> 
>>>> -- 
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Clojure" group.
>>>> To post to this group, send email to clojure@googlegroups.com
>>>> Note that posts from new members are moderated - please be patient with 
>>>> your first post.
>>>> To unsubscribe from this group, send email to
>>>> clojure+unsubscr...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/clojure?hl=en
>>>> --- 
>>>> You received this message because you are subscribed to the Google Groups 
>>>> "Clojure" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>>> email to clojure+unsubscr...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clojure@googlegroups.com
>>> Note that posts from new members are moderated - please be patient with 
>>> your first post.
>>> To unsubscribe from this group, send email to
>>> clojure+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/clojure?hl=en
>>> --- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "Clojure" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to clojure+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>> 
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clojure@googlegroups.com
>> Note that posts from new members are moderated - please be patient with your 
>> first post.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to