Fixtures in FiveAM

Antoniotti Marco antoniotti.marco at disco.unimib.it
Sun Jun 19 15:59:20 UTC 2016


> On Jun 19, 2016, at 16:54 , David McClain <dbm at refined-audiometrics.com> wrote:
> 
> It seems, from the docs, that these are simply wrapper macros around function bodies used to establish local context for the function under test. 

Yes.  But documentation is scarce and I couldn’t figure out how to define and/or use such macros.  I’m lazy.  I know.


> What seems to be missing from the discussion is that all the scaffolding needed for proper testing gets in the way of finding the corner cases where the testing is really needed. Reminds me of programming in C where, by the time all the scaffolding is in place, one has forgotten what problem is being solved. 

Ok.  That is a different discussion…

Marco







> 
> Dr. David McClain
> Refined Audiometrics Laboratory, LLC
> 
> Sent from a mobile device
> 
> 
>> On Jun 19, 2016, at 9:27, Antoniotti Marco <antoniotti.marco at disco.unimib.it> wrote:
>> 
>> Hi
>> 
>> let me ask here...
>> 
>> Does anybody know how "fixtures" work in FiveAM?  I am not quite grokking them.
>> 
>> Cheers
>> 
>> Marco
>> 
>> 
>> 
>> 
>> 
>> --
>> Marco Antoniotti, Associate Professor            tel.    +39 - 02 64 48 79 01
>> DISCo, Università Milano Bicocca U14 2043        http://bimib.disco.unimib.it
>> Viale Sarca 336
>> I-20126 Milan (MI) ITALY
>> 
>> Please check: http://cdac.lakecomoschool.org
>> 
>> Please note that I am not checking my Spam-box anymore.
>> Please do not forward this email without asking me first.
>> 
>> 
>> 
>> 
>> 
> 

--
Marco Antoniotti, Associate Professor			tel.	+39 - 02 64 48 79 01
DISCo, Università Milano Bicocca U14 2043		http://bimib.disco.unimib.it
Viale Sarca 336
I-20126 Milan (MI) ITALY

Please check: http://cdac.lakecomoschool.org

Please note that I am not checking my Spam-box anymore.
Please do not forward this email without asking me first.







More information about the pro mailing list