Re: Add a testing framework
tina_cas Yin <[email protected]> Wed, 17 Apr 2013 22:08:21 +0800
| Newsgroups | gmane.editors.abiword.devel |
|---|---|
| Message-ID | <CAFc03aUepRHbh_RC0kQzYQHe_yUA0mO_Q+wCae7-wMiuhNHy+Q@mail.gmail.com> |
Hi Kathiravelu, I have successfully built Abiword on my latop. I will attach the screenshot on my proposal. about the testing samples on [2], I don't know how to run them. and there are not a lot of test cases. If I found the method to reuse them, I will reuse them and add my own samples. I was reading a UNIT test blog about ABiword unit test [1] and I try to figure out the UNIT test case like [3] about the platform code, I would like to cover them using the regression test case on [2] [1] http://www.figuiere.net/hub/blog/?2004/12/31/42-abiword-unit-testing-in-progress [2] http://svn.abisource.com/abiword-testsuite/trunk/ [3] http://www.abisource.com/wiki/Unit_Test Tina 2013/4/17 Kathiravelu Pradeeban <[email protected]>: > Hi, > Welcome to the list, and nice to hear your interest. Were you able to > build AbiWord and complete the additional requirement [1]? Did you go > through the existing samples [2]? Do you plan to use them, or update > them? As I can see, they were not updated for a long time. If you can > provide test cases with your application, depicting your expertise, > that would be an advantage. > > The project also includes the platform code (win/cocoa/gtk) too, in > addition to the cross-platform code. You will also have to cover them > in the test suite, mentioning how will you handle this for multiple > operating systems. > > [1] http://www.abisource.com/wiki/Google_Summer_of_Code_2013#Additional_Requirements > [2] http://svn.abisource.com/abiword-testsuite/trunk/ > > Regards, > Pradeeban. > > On Wed, Apr 17, 2013 at 4:44 AM, tina_cas Yin <[email protected]> wrote: >> >> Hi, >> >> I am Tina. I am quite interested on the idea: Add a testing framework >> >> I found that there was no much test on ABiword. Firstly, I would like >> to use CppUnit to cover some Unit test case on platform free code. >> >> Unit test is important to a open source code. Unit Tests have several >> benefits to us. It allows us changing code quickly under full testing. >> By running unit tests, a developer can identify whether his latest >> changes to the code base has broken anything. Unit Tests can also help >> new developers really understand the design of the code and it can >> give our developers visual feedback about which lines are covered. >> >> At least three things should be done: >> 1. add some unit test case >> 2 add script to automatically run it >> 3 help other developers to add their own unit test case >> >> >> Any opinion? >> >> Tina > > > > -- > Kathiravelu Pradeeban. > Postgraduate Student, > Erasmus Mundus European Master in Distributed Computing, > Instituto Superior Técnico, Lisbon, Portugal. > > Blog: [Llovizna] http://kkpradeeban.blogspot.com/