Re: Unit Test Framework
Tapiwa Gutu <[email protected]> Sat, 10 Nov 2012 20:26:58 +0200
| Newsgroups | gmane.lisp.clocc.devel |
|---|---|
| Message-ID | <CAELc-6fdcd7xnKzYzY7=LpSkc1U-uAvvBSxdPph56tsEbbKZ_w@mail.gmail.com> |
--===============8321607479971663698== Content-Type: multipart/alternative; boundary=20cf303349f7e9c52a04ce28379e --20cf303349f7e9c52a04ce28379e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable "Keep your coding high and your expectations low." - I like, I will add that to my bucket of nuggets. I wrote the output formatting in a modular way so that more formats can be added in the future. The one output format compatible with other testing frameworks that I have already added is TAP, http://en.wikipedia.org/wiki/Test_Anything_Protocol. I actually had not thought about a migration strategy for tests from different frameworks. Hopefully this would be something that can be done with a community effort. I have emailed the mailing lists of the developers of most frameworks mentioned in Phil's blog and a few others. I guess now we wait and see. Thanks a lot for the message of encouragement and support. Likewise all the best to you with your library. I actually haven't heard of it so maybe you can post a link on this mailinglist just incase its something I might need down the line. Regards, Tapiwa On 10 November 2012 20:09, Far=C3=A9 <[email protected]> wrote: > Dear Tapiwa, > > > It was at the point I stumbled on Fran=C3=A7ois-Ren=C3=A9 blog, I decid= ed to take > up > > the challenge and consolidate the unit testing frameworks. I have no > > experience in working on community efforts so I came here because I > believe > > this is were I can get the most useful advice and constructive criticis= m. > > > Thanks a lot for undertaking this project! > Keep your coding high and your expectations low. > > > I have written a framework that aims to consolidate all the major > features > > of the frameworks mentioned in Phil's blog. You can find it on Github > > https://github.com/tgutu/clunit > > > I haven't personally investigated the space of testing frameworks enough > to make any claim as to the appropriate thing to do, > whether it is creating a new framework indeed, or > starting from one of the existing ones. > (Hell, in my own pet domain, data structures, > I have indeed started a new framework, LIL, so I won't cast any stone). > > However, let me just say that unless you can indeed convince > a sizable number of users and developers that > your new framework is indeed the Right Thing=E2=84=A2, > for which you will need to have very good arguments, > then starting a new framework will have achieved the opposite of the goal= , > i.e. more fragmentation rather than more consolidation. > > Also, not mentioned on Phil's blog are some frameworks that can produce > an output compatible with testing frameworks for other languages, > which allows for unified interfaces to test and test statistics. > I haven't used any of them, just heard about them. > > > I wrote a blog on the development of the framework and reasons for it > here > > http://ml.sun.ac.za/2012/11/09/developing-a-unit-test-framework-part-1/= for > > those who are interested. > > > Whatever happens, please don't get discouraged. > If you do one library well and it indeed becomes THE library for the topi= c, > you will have done more than if you do ten bad libraries. > > Nevertheless, a big part of the challenge of a community is > to get the conversation going with users and with developers of other > solutions. > I suggest you contact the developers and/or users of each existing > framework > and get familiar with how they see things. > > Finally, it is interesting to think of an eventual transition strategy. > Is it a matter of rewriting clients to use your new interface? > Is it a matter of writing compatibility systems that express the old > interfaces > in terms of the new one? > > Best of luck! > > =E2=80=94=E2=99=AF=C6=92 =E2=80=A2 Fran=C3=A7ois-Ren=C3=A9 =C3=90VB Ridea= u =E2=80=A2Reflection&Cybernethics=E2=80=A2 > http://fare.tunes.org > Economics is the plural of Morality. > --20cf303349f7e9c52a04ce28379e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <font face=3D"arial,helvetica,sans-serif">"</font>Keep your coding hig= h and your expectations low." - I like, I will add that to my bucket o= f nuggets.<br><br>I wrote the output formatting in a modular way so that mo= re formats can be added in the future.<br> The one output format compatible with other testing frameworks that I have = already added is TAP,<br><a href=3D"http://en.wikipedia.org/wiki/Test_Anyth= ing_Protocol">http://en.wikipedia.org/wiki/Test_Anything_Protocol</a>. <br> <br>I actually had not thought about a migration strategy for tests from di= fferent frameworks. Hopefully<br>this would be something that can be done w= ith a community effort.<br><br>I have emailed the mailing lists of the deve= lopers of most frameworks mentioned in Phil's blog and<br> a few others. I guess now we wait and see.<br><br>Thanks a lot for the mess= age of encouragement and support. Likewise all the best to you with your<br= >library. I actually haven't heard of it so maybe you can post a link o= n this mailinglist just incase its<br> something I might need down the line.<br><br>Regards,<br>Tapiwa<br><div cla= ss=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On 10 November 2012 2= 0:09, Far=C3=A9 <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" t= arget=3D"_blank">[email protected]</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex">Dear Tapiwa,<br> <div class=3D"im"><br> > It was at the point I stumbled on Fran=C3=A7ois-Ren=C3=A9 blog, I deci= ded to take up<br> > the challenge and consolidate the unit testing frameworks. I have no<b= r> > experience in working on community efforts so I came here because I be= lieve<br> > this is were I can get the most useful advice and constructive critici= sm.<br> ><br> </div>Thanks a lot for undertaking this project!<br> Keep your coding high and your expectations low.<br> <div class=3D"im"><br> > I have written a framework that aims to consolidate all the major feat= ures<br> > of the frameworks mentioned in Phil's blog. You can find it on Git= hub<br> > <a href=3D"https://github.com/tgutu/clunit" target=3D"_blank">https://= github.com/tgutu/clunit</a><br> ><br> </div>I haven't personally investigated the space of testing frameworks= enough<br> to make any claim as to the appropriate thing to do,<br> whether it is creating a new framework indeed, or<br> starting from one of the existing ones.<br> (Hell, in my own pet domain, data structures,<br> I have indeed started a new framework, LIL, so I won't cast any stone).= <br> <br> However, let me just say that unless you can indeed convince<br> a sizable number of users and developers that<br> your new framework is indeed the Right Thing=E2=84=A2,<br> for which you will need to have very good arguments,<br> then starting a new framework will have achieved the opposite of the goal,<= br> i.e. more fragmentation rather than more consolidation.<br> <br> Also, not mentioned on Phil's blog are some frameworks that can produce= <br> an output compatible with testing frameworks for other languages,<br> which allows for unified interfaces to test and test statistics.<br> I haven't used any of them, just heard about them.<br> <div class=3D"im"><br> > I wrote a blog on the development of the framework and reasons for it = here<br> > <a href=3D"http://ml.sun.ac.za/2012/11/09/developing-a-unit-test-frame= work-part-1/" target=3D"_blank">http://ml.sun.ac.za/2012/11/09/developing-a= -unit-test-framework-part-1/</a> for<br> > those who are interested.<br> ><br> </div>Whatever happens, please don't get discouraged.<br> If you do one library well and it indeed becomes THE library for the topic,= <br> you will have done more than if you do ten bad libraries.<br> <br> Nevertheless, a big part of the challenge of a community is<br> to get the conversation going with users and with developers of other solut= ions.<br> I suggest you contact the developers and/or users of each existing framewor= k<br> and get familiar with how they see things.<br> <br> Finally, it is interesting to think of an eventual transition strategy.<br> Is it a matter of rewriting clients to use your new interface?<br> Is it a matter of writing compatibility systems that express the old interf= aces<br> in terms of the new one?<br> <br> Best of luck!<br> <br> =E2=80=94=E2=99=AF=C6=92 =E2=80=A2 Fran=C3=A7ois-Ren=C3=A9 =C3=90VB Rideau = =E2=80=A2Reflection&Cybernethics=E2=80=A2 <a href=3D"http://fare.tunes.= org" target=3D"_blank">http://fare.tunes.org</a><br> Economics is the plural of Morality.<br> </blockquote></div><br></div> --20cf303349f7e9c52a04ce28379e-- --===============8321607479971663698== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov --===============8321607479971663698== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ clocc-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clocc-devel --===============8321607479971663698==--