Discussion:
Fixtures in FiveAM
Antoniotti Marco
2016-06-19 14:27:05 UTC
Permalink
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 t
Anton Vodonosov
2016-06-19 14:32:09 UTC
Permalink
Why would anyone need fixtures?
Post by Antoniotti Marco
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.
David McClain
2016-06-19 14:54:56 UTC
Permalink
It seems, from the docs, that these are simply wrapper macros around function bodies used to establish local context for the function under test.

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.

Dr. David McClain
Refined Audiometrics Laboratory, LLC

Sent from a mobile device
Post by Antoniotti Marco
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.
David McClain
2016-06-19 15:15:18 UTC
Permalink
I think regression testing is a laudable goal. But it only tests under fixed circumstances, prescribed by all the scaffolding. It assures that under those specific conditions, the functions you test, seem to have passed on the basis of conformity with earlier or planned behavior. But it cannot assure that in the heat of battle, the functions will continue to perform properly. And it will possibly miss those all important corner cases. Errors of failure to anticipate.

It would seem to me that the only way to assure a consistent quality it to program in largely functional style, and provide in-situ design by contract clauses that operate at each invocation. The entire system beneath the code could have changed and there would be no other way to know this without the contractual clauses in place.

I know that implies a large runtime overhead. But how else to know the integrity of the entire system?

- DM
Post by David McClain
It seems, from the docs, that these are simply wrapper macros around function bodies used to establish local context for the function under test.
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.
Dr. David McClain
Refined Audiometrics Laboratory, LLC
Sent from a mobile device
Post by Antoniotti Marco
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.
Antoniotti Marco
2016-06-19 15:59:20 UTC
Permalink
Post by David McClain
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.
Post by David McClain
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
Post by David McClain
Dr. David McClain
Refined Audiometrics Laboratory, LLC
Sent from a mobile device
Post by Antoniotti Marco
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
Antoniotti Marco
2016-06-20 20:43:06 UTC
Permalink
All right.

Does anybody know how to get on the FIveAM mailing list?

The links from the web site are dead.

Cheers

MA
Post by Antoniotti Marco
Post by David McClain
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.
Post by David McClain
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
Post by David McClain
Dr. David McClain
Refined Audiometrics Laboratory, LLC
Sent from a mobile device
Post by Antoniotti Marco
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.
--
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 fo
Erik Huelsmann
2016-06-20 20:45:34 UTC
Permalink
Hi Marco,

This should help you to get on FiveAM-devel:
https://mailman.common-lisp.net/listinfo/fiveam-devel

Regards,


Erik.

On Mon, Jun 20, 2016 at 10:43 PM, Antoniotti Marco <
Post by Antoniotti Marco
All right.
Does anybody know how to get on the FIveAM mailing list?
The links from the web site are dead.
Cheers
—
MA
On Jun 19, 2016, at 17:59 , Antoniotti Marco <
Post by David McClain
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.
Post by David McClain
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
Post by David McClain
Dr. David McClain
Refined Audiometrics Laboratory, LLC
Sent from a mobile device
On Jun 19, 2016, at 9:27, Antoniotti Marco <
Hi
let me ask here...
Does anybody know how "fixtures" work in FiveAM? I am not quite
grokking them.
Post by David McClain
Cheers
Marco
--
Marco Antoniotti, Associate Professor tel. +39 - 02 64
48 79 01
Post by David McClain
DISCo, Università Milano Bicocca U14 2043
http://bimib.disco.unimib.it
Post by David McClain
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.
--
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.
--
Bye,

Erik.

http://efficito.com -- Hosted accounting and ERP.
Robust and Flexible. No vendor lock-in.
Loading...