Quantcast

Feature request

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Feature request

Eric Berry
I would love it if we could add the command line option when creating a domain class, controller, etc to skip generation of tests.

For example:

grails create-domain-class Foo --skip-unit-tests

Is this something that others would like?

Eric
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Feature request

Graeme Rocher-2
Ooooh, you may incite the TDD fanatics with this ;-)

-- 
Graeme Rocher

On Monday, July 16, 2012 at 4:27 PM, Eric Berry wrote:

I would love it if we could add the command line option when creating a domain class, controller, etc to skip generation of tests.

For example:

grails create-domain-class Foo --skip-unit-tests

Is this something that others would like?

Eric

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Feature request

Antony Jones
If you added this feature to Grails, Eric, how would you ever know
that it worked? :)

Antony

On 16 July 2012 16:48, Graeme Rocher <[hidden email]> wrote:

> Ooooh, you may incite the TDD fanatics with this ;-)
>
> --
> Graeme Rocher
>
> On Monday, July 16, 2012 at 4:27 PM, Eric Berry wrote:
>
> I would love it if we could add the command line option when creating a
> domain class, controller, etc to skip generation of tests.
>
> For example:
>
> grails create-domain-class Foo --skip-unit-tests
>
> Is this something that others would like?
>
> Eric
>
>



--
________________________________
ꜽ . antony jones . http://www.enzy.org

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

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Feature request

Nathan Wells
What's the motivation? Are the generated tests failing for you? Are you using a different testing mechanism that's incompatible with Grails autogeneration? Do you like killing fluffy bunnies :P?

Nathan Wells


On Mon, Jul 16, 2012 at 2:34 PM, Antony Jones <[hidden email]> wrote:
If you added this feature to Grails, Eric, how would you ever know
that it worked? :)

Antony

On 16 July 2012 16:48, Graeme Rocher <[hidden email]> wrote:
> Ooooh, you may incite the TDD fanatics with this ;-)
>
> --
> Graeme Rocher
>
> On Monday, July 16, 2012 at 4:27 PM, Eric Berry wrote:
>
> I would love it if we could add the command line option when creating a
> domain class, controller, etc to skip generation of tests.
>
> For example:
>
> grails create-domain-class Foo --skip-unit-tests
>
> Is this something that others would like?
>
> Eric
>
>



--
________________________________
ꜽ . antony jones . http://www.enzy.org

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

    http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Feature request

Sebastian Gozin
In reply to this post by Antony Jones
I'm a TDD fanatic and would not care if that feature were turned off.
Having said that I don't use the feature which generates said tests because I am a TDD fanatic. By the time I need it the test already exists.

Sebastian


On 16 Jul 2012, at 22:34, Antony Jones wrote:

> If you added this feature to Grails, Eric, how would you ever know
> that it worked? :)
>
> Antony
>
> On 16 July 2012 16:48, Graeme Rocher <[hidden email]> wrote:
>> Ooooh, you may incite the TDD fanatics with this ;-)
>>
>> --
>> Graeme Rocher
>>
>> On Monday, July 16, 2012 at 4:27 PM, Eric Berry wrote:
>>
>> I would love it if we could add the command line option when creating a
>> domain class, controller, etc to skip generation of tests.
>>
>> For example:
>>
>> grails create-domain-class Foo --skip-unit-tests
>>
>> Is this something that others would like?
>>
>> Eric
>>
>>
>
>
>
> --
> ________________________________
> ꜽ . antony jones . http://www.enzy.org
>
> ---------------------------------------------------------------------
> 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


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Feature request

Nick Vaidyanathan
Cool story, bro!

While we're at it, could we add a mode that disables that whole complicated MVC thing and puts all my controller logic as embedded scriptlets in my views? It would really make my life easier to have it all in one place. Oh, and can we also make i18n optional? I only care about my English speaking users: if they've chosen not to read English, they've already made a terrible life decision! :D

Sorry. Had to have a little tongue-in-cheek fun. I like my frameworks like I like my old Latin mothers:

"How come you never call anymore? Are you eating enough? It doesn't look like you're eating enough! Oh,and are you still passing all your tests since you did that thing with that thing last week?" 

*Note: If your mother has this propertyMissing, be sure to add it with a methodMissing at your next family.dinner.invoke
 
If a user wants to write a Groovy script that deletes the stubbed out tests and copypasta into scripts/ to have it trigger as an Event, more power to them.

I'd rather not have Grails enable such behavior, unless the log emits an appropriate message like "Dropping the holy hand grenade of Antioch! 1....2....."


On Mon, Jul 16, 2012 at 11:55 PM, Sebastian Gozin <[hidden email]> wrote:
I'm a TDD fanatic and would not care if that feature were turned off.
Having said that I don't use the feature which generates said tests because I am a TDD fanatic. By the time I need it the test already exists.

Sebastian


On 16 Jul 2012, at 22:34, Antony Jones wrote:

> If you added this feature to Grails, Eric, how would you ever know
> that it worked? :)
>
> Antony
>
> On 16 July 2012 16:48, Graeme Rocher <[hidden email]> wrote:
>> Ooooh, you may incite the TDD fanatics with this ;-)
>>
>> --
>> Graeme Rocher
>>
>> On Monday, July 16, 2012 at 4:27 PM, Eric Berry wrote:
>>
>> I would love it if we could add the command line option when creating a
>> domain class, controller, etc to skip generation of tests.
>>
>> For example:
>>
>> grails create-domain-class Foo --skip-unit-tests
>>
>> Is this something that others would like?
>>
>> Eric
>>
>>
>
>
>
> --
> ________________________________
> ꜽ . antony jones . http://www.enzy.org
>
> ---------------------------------------------------------------------
> 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





--
Nick Vaidyanathan
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Feature request

Sebastien Blanc
Want kind of drugs are you using ? Seems to be cool stuff.


On Tue, Jul 17, 2012 at 10:29 AM, Nick Vaidyanathan <[hidden email]> wrote:
Cool story, bro!

While we're at it, could we add a mode that disables that whole complicated MVC thing and puts all my controller logic as embedded scriptlets in my views? It would really make my life easier to have it all in one place. Oh, and can we also make i18n optional? I only care about my English speaking users: if they've chosen not to read English, they've already made a terrible life decision! :D

Sorry. Had to have a little tongue-in-cheek fun. I like my frameworks like I like my old Latin mothers:

"How come you never call anymore? Are you eating enough? It doesn't look like you're eating enough! Oh,and are you still passing all your tests since you did that thing with that thing last week?" 

*Note: If your mother has this propertyMissing, be sure to add it with a methodMissing at your next family.dinner.invoke
 
If a user wants to write a Groovy script that deletes the stubbed out tests and copypasta into scripts/ to have it trigger as an Event, more power to them.

I'd rather not have Grails enable such behavior, unless the log emits an appropriate message like "Dropping the holy hand grenade of Antioch! 1....2....."



On Mon, Jul 16, 2012 at 11:55 PM, Sebastian Gozin <[hidden email]> wrote:
I'm a TDD fanatic and would not care if that feature were turned off.
Having said that I don't use the feature which generates said tests because I am a TDD fanatic. By the time I need it the test already exists.

Sebastian


On 16 Jul 2012, at 22:34, Antony Jones wrote:

> If you added this feature to Grails, Eric, how would you ever know
> that it worked? :)
>
> Antony
>
> On 16 July 2012 16:48, Graeme Rocher <[hidden email]> wrote:
>> Ooooh, you may incite the TDD fanatics with this ;-)
>>
>> --
>> Graeme Rocher
>>
>> On Monday, July 16, 2012 at 4:27 PM, Eric Berry wrote:
>>
>> I would love it if we could add the command line option when creating a
>> domain class, controller, etc to skip generation of tests.
>>
>> For example:
>>
>> grails create-domain-class Foo --skip-unit-tests
>>
>> Is this something that others would like?
>>
>> Eric
>>
>>
>
>
>
> --
> ________________________________
> ꜽ . antony jones . http://www.enzy.org
>
> ---------------------------------------------------------------------
> 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





--
Nick Vaidyanathan

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Feature request

Nick Vaidyanathan
Mos def.  https://www.youtube.com/watch?v=dJyvcNmYwr4&feature=player_embedded  Works pretty well.  

On Tue, Jul 17, 2012 at 1:40 AM, Sebastien Blanc <[hidden email]> wrote:
Want kind of drugs are you using ? Seems to be cool stuff.


On Tue, Jul 17, 2012 at 10:29 AM, Nick Vaidyanathan <[hidden email]> wrote:
Cool story, bro!

While we're at it, could we add a mode that disables that whole complicated MVC thing and puts all my controller logic as embedded scriptlets in my views? It would really make my life easier to have it all in one place. Oh, and can we also make i18n optional? I only care about my English speaking users: if they've chosen not to read English, they've already made a terrible life decision! :D

Sorry. Had to have a little tongue-in-cheek fun. I like my frameworks like I like my old Latin mothers:

"How come you never call anymore? Are you eating enough? It doesn't look like you're eating enough! Oh,and are you still passing all your tests since you did that thing with that thing last week?" 

*Note: If your mother has this propertyMissing, be sure to add it with a methodMissing at your next family.dinner.invoke
 
If a user wants to write a Groovy script that deletes the stubbed out tests and copypasta into scripts/ to have it trigger as an Event, more power to them.

I'd rather not have Grails enable such behavior, unless the log emits an appropriate message like "Dropping the holy hand grenade of Antioch! 1....2....."



On Mon, Jul 16, 2012 at 11:55 PM, Sebastian Gozin <[hidden email]> wrote:
I'm a TDD fanatic and would not care if that feature were turned off.
Having said that I don't use the feature which generates said tests because I am a TDD fanatic. By the time I need it the test already exists.

Sebastian


On 16 Jul 2012, at 22:34, Antony Jones wrote:

> If you added this feature to Grails, Eric, how would you ever know
> that it worked? :)
>
> Antony
>
> On 16 July 2012 16:48, Graeme Rocher <[hidden email]> wrote:
>> Ooooh, you may incite the TDD fanatics with this ;-)
>>
>> --
>> Graeme Rocher
>>
>> On Monday, July 16, 2012 at 4:27 PM, Eric Berry wrote:
>>
>> I would love it if we could add the command line option when creating a
>> domain class, controller, etc to skip generation of tests.
>>
>> For example:
>>
>> grails create-domain-class Foo --skip-unit-tests
>>
>> Is this something that others would like?
>>
>> Eric
>>
>>
>
>
>
> --
> ________________________________
> ꜽ . antony jones . http://www.enzy.org
>
> ---------------------------------------------------------------------
> 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





--
Nick Vaidyanathan




--
Nick Vaidyanathan
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Feature request

Sebastian Gozin
In reply to this post by Nick Vaidyanathan
Amusing,

I just pointed out that if we care about TDD then we don't care so much the create domain-class script also generates an empty test class.
Now if someone would suggest we also generate a bunch of empty test functions, them are fighting words.

Peace,
- Sebastian


On 17 Jul 2012, at 10:29, Nick Vaidyanathan wrote:

Cool story, bro!

While we're at it, could we add a mode that disables that whole complicated MVC thing and puts all my controller logic as embedded scriptlets in my views? It would really make my life easier to have it all in one place. Oh, and can we also make i18n optional? I only care about my English speaking users: if they've chosen not to read English, they've already made a terrible life decision! :D

Sorry. Had to have a little tongue-in-cheek fun. I like my frameworks like I like my old Latin mothers:

"How come you never call anymore? Are you eating enough? It doesn't look like you're eating enough! Oh,and are you still passing all your tests since you did that thing with that thing last week?" 

*Note: If your mother has this propertyMissing, be sure to add it with a methodMissing at your next family.dinner.invoke
 
If a user wants to write a Groovy script that deletes the stubbed out tests and copypasta into scripts/ to have it trigger as an Event, more power to them.

I'd rather not have Grails enable such behavior, unless the log emits an appropriate message like "Dropping the holy hand grenade of Antioch! 1....2....."


On Mon, Jul 16, 2012 at 11:55 PM, Sebastian Gozin <[hidden email]> wrote:
I'm a TDD fanatic and would not care if that feature were turned off.
Having said that I don't use the feature which generates said tests because I am a TDD fanatic. By the time I need it the test already exists.

Sebastian


On 16 Jul 2012, at 22:34, Antony Jones wrote:

> If you added this feature to Grails, Eric, how would you ever know
> that it worked? :)
>
> Antony
>
> On 16 July 2012 16:48, Graeme Rocher <[hidden email]> wrote:
>> Ooooh, you may incite the TDD fanatics with this ;-)
>>
>> --
>> Graeme Rocher
>>
>> On Monday, July 16, 2012 at 4:27 PM, Eric Berry wrote:
>>
>> I would love it if we could add the command line option when creating a
>> domain class, controller, etc to skip generation of tests.
>>
>> For example:
>>
>> grails create-domain-class Foo --skip-unit-tests
>>
>> Is this something that others would like?
>>
>> Eric
>>
>>
>
>
>
> --
> ________________________________
> ꜽ . antony jones . http://www.enzy.org
>
> ---------------------------------------------------------------------
> 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





--
Nick Vaidyanathan

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Feature request

John Fletcher-3
It certainly takes a lot of guts to declare the emperor naked.

John

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

    http://xircles.codehaus.org/manage_email


Loading...