hey, all..
i was wondering of there was a system to allow me to quickly build an object for testing.. something that would let me build a complex object that and feed it to a test suite. something that would allow me to define all of the object's attributes and assure its validity quickly.. any ideas? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.ThoseOptimizeGuys.com http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 |
hmm. Is something like this what you have in mind:
http://www.squeaksource.com/Mocketry.html ? On 09/07/2012 08:07 AM, sergio_101 wrote: > hey, all.. > > i was wondering of there was a system to allow me to quickly build an > object for testing.. > > something that would let me build a complex object that and feed it to > a test suite. something that would allow me to define all of the > object's attributes and assure its validity quickly.. > > any ideas? > > thanks! > > |
whoa.. i am going to have to look at this a bit more.. but it looks
like that is a mocking library.. i am thinking of something a little more like 'factory girl' for ruby.. thanks! On Fri, Sep 7, 2012 at 11:53 AM, Paul DeBruicker <[hidden email]> wrote: > hmm. Is something like this what you have in mind: > > http://www.squeaksource.com/Mocketry.html > > ? > > > > On 09/07/2012 08:07 AM, sergio_101 wrote: >> >> hey, all.. >> >> i was wondering of there was a system to allow me to quickly build an >> object for testing.. >> >> something that would let me build a complex object that and feed it to >> a test suite. something that would allow me to define all of the >> object's attributes and assure its validity quickly.. >> >> any ideas? >> >> thanks! >> >> > > -- ---- peace, sergio photographer, journalist, visionary http://www.ThoseOptimizeGuys.com http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 |
There is but I do not remember its name a way to instruct an object about answer to message and it can replay
the answer. stef On Sep 7, 2012, at 6:01 PM, sergio_101 wrote: > whoa.. i am going to have to look at this a bit more.. but it looks > like that is a mocking library.. i am thinking of something a little > more like 'factory girl' for ruby.. > > thanks! > > > > On Fri, Sep 7, 2012 at 11:53 AM, Paul DeBruicker <[hidden email]> wrote: >> hmm. Is something like this what you have in mind: >> >> http://www.squeaksource.com/Mocketry.html >> >> ? >> >> >> >> On 09/07/2012 08:07 AM, sergio_101 wrote: >>> >>> hey, all.. >>> >>> i was wondering of there was a system to allow me to quickly build an >>> object for testing.. >>> >>> something that would let me build a complex object that and feed it to >>> a test suite. something that would allow me to define all of the >>> object's attributes and assure its validity quickly.. >>> >>> any ideas? >>> >>> thanks! >>> >>> >> >> > > > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.ThoseOptimizeGuys.com > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > |
i suppose you could make a method that creates itself with some data
filled in.. that might work, too.. On Fri, Sep 7, 2012 at 3:11 PM, Stéphane Ducasse <[hidden email]> wrote: > There is but I do not remember its name a way to instruct an object about answer to message and it can replay > the answer. > > stef > On Sep 7, 2012, at 6:01 PM, sergio_101 wrote: > >> whoa.. i am going to have to look at this a bit more.. but it looks >> like that is a mocking library.. i am thinking of something a little >> more like 'factory girl' for ruby.. >> >> thanks! >> >> >> >> On Fri, Sep 7, 2012 at 11:53 AM, Paul DeBruicker <[hidden email]> wrote: >>> hmm. Is something like this what you have in mind: >>> >>> http://www.squeaksource.com/Mocketry.html >>> >>> ? >>> >>> >>> >>> On 09/07/2012 08:07 AM, sergio_101 wrote: >>>> >>>> hey, all.. >>>> >>>> i was wondering of there was a system to allow me to quickly build an >>>> object for testing.. >>>> >>>> something that would let me build a complex object that and feed it to >>>> a test suite. something that would allow me to define all of the >>>> object's attributes and assure its validity quickly.. >>>> >>>> any ideas? >>>> >>>> thanks! >>>> >>>> >>> >>> >> >> >> >> -- >> ---- >> peace, >> sergio >> photographer, journalist, visionary >> >> http://www.ThoseOptimizeGuys.com >> http://www.CodingForHire.com >> http://www.coffee-black.com >> http://www.painlessfrugality.com >> http://www.twitter.com/sergio_101 >> http://www.facebook.com/sergio101 >> > > -- ---- peace, sergio photographer, journalist, visionary http://www.ThoseOptimizeGuys.com http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 |
I think you are thinking of BabyMock steph.
2012/9/7 sergio_101 <[hidden email]> i suppose you could make a method that creates itself with some data Guillaume Larcheveque |
i should also point out that the main reason i am thinking about this
is so that i can quickly build associated models for testing.. once the models get very complex, quickly creating a model can be a pain.. -- ---- peace, sergio photographer, journalist, visionary http://www.ThoseOptimizeGuys.com http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 |
Free forum by Nabble | Edit this page |