You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Tiago Espinha <ti...@espinha.net> on 2012/03/27 22:57:28 UTC
GSoC 2012 - To potential student applicants on the list
Dear students,
For those interested, I will be mentoring a GSoC project for Apache Derby.
More details on: https://issues.apache.org/jira/browse/DERBY-5674
Regards,
Tiago
Re: Mohamed Nufail proposal (was Re: GSoC 2012 - To potential student
applicants on the list)
Posted by Katherine Marsden <km...@sbcglobal.net>.
On 4/12/2012 10:45 AM, Mohamed Nufail wrote:
> Hi Kathey,
>
> Thanks for noting. I have updated the proposal in the google doc also.
>
> As for the OSGi tests, I found out that Pax Exam [1] can be used for
> this purpose. Tests can be written using JUnit as any other JUnit
> test. Pax Exam is able to run an OSGi framework and add the tests as a
> bundle and run the tests within the OSGi environment. Also I found out
> that it can be integrated into an ant build. So I think this would
> serve our purpose. I have no prior experience of using this but from
> what I found out, Pax Exam is better than the other alternatives.
>
> [1] http://team.ops4j.org/wiki/display/paxexam/Pax+Exam
>
Great. I see it has the Apache v2 license so that is really good.
https://github.com/ops4j/org.ops4j.pax.exam2/blob/master/LICENSE
Still when implemented unless it is determined Paxexam is suitable to
check in, we should probably make a build property for the location and
skip the tests if it is not installed.
Re: Mohamed Nufail proposal (was Re: GSoC 2012 - To potential student
applicants on the list)
Posted by Mohamed Nufail <nu...@gmail.com>.
Hi Kathey,
Thanks for noting. I have updated the proposal in the google doc also.
As for the OSGi tests, I found out that Pax Exam [1] can be used for this
purpose. Tests can be written using JUnit as any other JUnit test. Pax Exam
is able to run an OSGi framework and add the tests as a bundle and run the
tests within the OSGi environment. Also I found out that it can be
integrated into an ant build. So I think this would serve our purpose. I
have no prior experience of using this but from what I found out, Pax Exam
is better than the other alternatives.
[1] http://team.ops4j.org/wiki/display/paxexam/Pax+Exam
Regards,
Nufail.
On Wed, Apr 11, 2012 at 9:41 PM, Katherine Marsden <
kmarsdenderby@sbcglobal.net> wrote:
> On 4/11/2012 4:37 AM, Tiago Espinha wrote:
>
>> Hi Nufail,
>> Kathey and Bryan, feel free to contribute your thoughts about Nufail's
>> and Siddharth's proposals. The more input we have, the better.
>>
>> Hi Mohamed,
>
> One important thing is that the proposal in the melange tool has been
> updated vs the one in google docs that is available to the general
> community. Please update your google docs document to match your formal
> proposal so the whole community can see.
>
> I like the revised proposal better with a more intense focus on client
> code coverage and OSGI functional testing coverage. I wonder what is the
> approach for adding OSGi tests? Is this something that can easily be
> incorporated into our JUnit framework. I have to admit I am totally
> inexperienced in this area, so welcome not only the promise of some
> coverage but education in this area as well.
>
> Thanks
>
> Kathey
>
>
>
>
>
>
>
--
Mohamed Nufail
Undergraduate,
Department of Computer Science & Engineering,
University of Moratuwa.
Blog: http://www.nufailm.blogspot.com/
re:Mohamed Nufail proposal (was Re: GSoC 2012 - To potential student
applicants on the list)
Posted by Katherine Marsden <km...@sbcglobal.net>.
On 4/11/2012 4:37 AM, Tiago Espinha wrote:
> Hi Nufail,
> Kathey and Bryan, feel free to contribute your thoughts about Nufail's
> and Siddharth's proposals. The more input we have, the better.
>
Hi Mohamed,
One important thing is that the proposal in the melange tool has been
updated vs the one in google docs that is available to the general
community. Please update your google docs document to match your
formal proposal so the whole community can see.
I like the revised proposal better with a more intense focus on
client code coverage and OSGI functional testing coverage. I wonder
what is the approach for adding OSGi tests? Is this something that can
easily be incorporated into our JUnit framework. I have to admit I am
totally inexperienced in this area, so welcome not only the promise of
some coverage but education in this area as well.
Thanks
Kathey
Re: Code coverage -- sane vs insane builds
Posted by Bryan Pendleton <bp...@gmail.com>.
> Hmm, if there's code covered by insane builds which is not covered by sane builds, is that really a problem? We would just have
> to make sure that regressions are ran against insane jars and all would be well. Or am I missing something?
I think one issue is that we may find that a substantial amount of the "missing"
code coverage is due to extra sanity checking code that is only exercised in
the sane builds.
So in fact that code *is* covered by our test suite; we just couldn't tell because
we weren't running Emma in the sane configuration.
thanks,
bryan
Re: GSoC 2012 - To potential student applicants on the list
Posted by Tiago Espinha <ti...@espinha.net>.
Congratulations Siddharth and Nufail :) looking forward to having you two
on board, helping Derby become even better!
Tiago
On Tue, Apr 24, 2012 at 7:15 AM, Nirmal Fernando <ni...@gmail.com>wrote:
> Congratulations Nufail and Siddharth!!
>
> Happy Coding!! :)
>
>
> On Tue, Apr 24, 2012 at 6:37 AM, siddharth srivastava <akssps011@gmail.com
> > wrote:
>
>> Hi
>>
>> It's awesome being get selected.
>>
>> Just got to know that I was selected. Thank you everyone. Eagerly looking
>>> forward to contribute to Derby.
>>> Also congrats Siddharth for getting selected.
>>>
>>
>> Thanks Nufail and congrats to you as well. :)
>>
>>
>>>
>>> Thanks.
>>> Nufail.
>>>
>>>
>>> On Fri, Apr 13, 2012 at 11:15 PM, siddharth srivastava <
>>> akssps011@gmail.com> wrote:
>>>
>>>> Hi
>>>>
>>>> > I think we used to "add" the results of the derbyall run to the
>>>> suites.all
>>>> > run. It would be interesting to understand what code paths
>>>> > are covered by derbyall and not suites.all which would then might
>>>> > identify best candidates for test conversion from all harness to
>>>> junit.
>>>>
>>>> I am trying to get suites.All(with sane build) to finish without any
>>>> errors here with Emma.
>>>> But in the meanwhile, if anyone wants to see the result of derbyall,
>>>> they can visit this link
>>>> where I have uploaded the result:
>>>>
>>>> http://liveaired.com/derby/emma/harness_insane/coverageinsane/ (Insane
>>>> Build)
>>>> http://liveaired.com/derby/emma/harness_sane/coveragereport/ (Sane
>>>> build)
>>>>
>>>> I am trying to get the results with suites.All but the test always
>>>> fails with this error:
>>>>
>>>> Failed to invoke suite():java.lang.reflect.InvocationTargetException
>>>>
>>>> while using these parameters(for junit) with Emma:
>>>> -XX:MaxPermSize=512m -Xmx1024M -Xms512M
>>>> This is the result on Mac OSX with JRE 1.7
>>>>
>>>> The tests start executing if I don't use these parameters (though
>>>> later fail due to out of memory exception)
>>>>
>>>> Since, I recall executing the tests with same parameters on a JRE 1.6,
>>>> windows machine. I would be trying with
>>>> that as well.
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Regards
>>>> Siddharth Srivastava
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> Mohamed Nufail
>>> Undergraduate,
>>> Department of Computer Science & Engineering,
>>> University of Moratuwa.
>>> Blog: http://www.nufailm.blogspot.com/
>>>
>>>
>>>
>>
>>
>> --
>> Regards
>> Siddharth Srivastava
>>
>>
>>
>
>
> --
> Best Regards,
> Nirmal
>
> C.S.Nirmal J. Fernando
> Software Engineer,
> WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>
>
Re: GSoC 2012 - To potential student applicants on the list
Posted by Nirmal Fernando <ni...@gmail.com>.
Congratulations Nufail and Siddharth!!
Happy Coding!! :)
On Tue, Apr 24, 2012 at 6:37 AM, siddharth srivastava
<ak...@gmail.com>wrote:
> Hi
>
> It's awesome being get selected.
>
> Just got to know that I was selected. Thank you everyone. Eagerly looking
>> forward to contribute to Derby.
>> Also congrats Siddharth for getting selected.
>>
>
> Thanks Nufail and congrats to you as well. :)
>
>
>>
>> Thanks.
>> Nufail.
>>
>>
>> On Fri, Apr 13, 2012 at 11:15 PM, siddharth srivastava <
>> akssps011@gmail.com> wrote:
>>
>>> Hi
>>>
>>> > I think we used to "add" the results of the derbyall run to the
>>> suites.all
>>> > run. It would be interesting to understand what code paths
>>> > are covered by derbyall and not suites.all which would then might
>>> > identify best candidates for test conversion from all harness to junit.
>>>
>>> I am trying to get suites.All(with sane build) to finish without any
>>> errors here with Emma.
>>> But in the meanwhile, if anyone wants to see the result of derbyall,
>>> they can visit this link
>>> where I have uploaded the result:
>>>
>>> http://liveaired.com/derby/emma/harness_insane/coverageinsane/ (Insane
>>> Build)
>>> http://liveaired.com/derby/emma/harness_sane/coveragereport/ (Sane
>>> build)
>>>
>>> I am trying to get the results with suites.All but the test always
>>> fails with this error:
>>>
>>> Failed to invoke suite():java.lang.reflect.InvocationTargetException
>>>
>>> while using these parameters(for junit) with Emma:
>>> -XX:MaxPermSize=512m -Xmx1024M -Xms512M
>>> This is the result on Mac OSX with JRE 1.7
>>>
>>> The tests start executing if I don't use these parameters (though
>>> later fail due to out of memory exception)
>>>
>>> Since, I recall executing the tests with same parameters on a JRE 1.6,
>>> windows machine. I would be trying with
>>> that as well.
>>>
>>>
>>>
>>>
>>> --
>>> Regards
>>> Siddharth Srivastava
>>>
>>
>>
>>
>> --
>>
>> Mohamed Nufail
>> Undergraduate,
>> Department of Computer Science & Engineering,
>> University of Moratuwa.
>> Blog: http://www.nufailm.blogspot.com/
>>
>>
>>
>
>
> --
> Regards
> Siddharth Srivastava
>
>
>
--
Best Regards,
Nirmal
C.S.Nirmal J. Fernando
Software Engineer,
WSO2 Inc.
Blog: http://nirmalfdo.blogspot.com/
Re: GSoC 2012 - To potential student applicants on the list
Posted by siddharth srivastava <ak...@gmail.com>.
Hi
It's awesome being get selected.
Just got to know that I was selected. Thank you everyone. Eagerly looking
> forward to contribute to Derby.
> Also congrats Siddharth for getting selected.
>
Thanks Nufail and congrats to you as well. :)
>
> Thanks.
> Nufail.
>
>
> On Fri, Apr 13, 2012 at 11:15 PM, siddharth srivastava <
> akssps011@gmail.com> wrote:
>
>> Hi
>>
>> > I think we used to "add" the results of the derbyall run to the
>> suites.all
>> > run. It would be interesting to understand what code paths
>> > are covered by derbyall and not suites.all which would then might
>> > identify best candidates for test conversion from all harness to junit.
>>
>> I am trying to get suites.All(with sane build) to finish without any
>> errors here with Emma.
>> But in the meanwhile, if anyone wants to see the result of derbyall,
>> they can visit this link
>> where I have uploaded the result:
>>
>> http://liveaired.com/derby/emma/harness_insane/coverageinsane/ (Insane
>> Build)
>> http://liveaired.com/derby/emma/harness_sane/coveragereport/ (Sane
>> build)
>>
>> I am trying to get the results with suites.All but the test always
>> fails with this error:
>>
>> Failed to invoke suite():java.lang.reflect.InvocationTargetException
>>
>> while using these parameters(for junit) with Emma:
>> -XX:MaxPermSize=512m -Xmx1024M -Xms512M
>> This is the result on Mac OSX with JRE 1.7
>>
>> The tests start executing if I don't use these parameters (though
>> later fail due to out of memory exception)
>>
>> Since, I recall executing the tests with same parameters on a JRE 1.6,
>> windows machine. I would be trying with
>> that as well.
>>
>>
>>
>>
>> --
>> Regards
>> Siddharth Srivastava
>>
>
>
>
> --
>
> Mohamed Nufail
> Undergraduate,
> Department of Computer Science & Engineering,
> University of Moratuwa.
> Blog: http://www.nufailm.blogspot.com/
>
>
>
--
Regards
Siddharth Srivastava
Re: GSoC 2012 - To potential student applicants on the list
Posted by Mohamed Nufail <nu...@gmail.com>.
Hi,
Just got to know that I was selected. Thank you everyone. Eagerly looking
forward to contribute to Derby.
Also congrats Siddharth for getting selected.
Thanks.
Nufail.
On Fri, Apr 13, 2012 at 11:15 PM, siddharth srivastava
<ak...@gmail.com>wrote:
> Hi
>
> > I think we used to "add" the results of the derbyall run to the
> suites.all
> > run. It would be interesting to understand what code paths
> > are covered by derbyall and not suites.all which would then might
> > identify best candidates for test conversion from all harness to junit.
>
> I am trying to get suites.All(with sane build) to finish without any
> errors here with Emma.
> But in the meanwhile, if anyone wants to see the result of derbyall,
> they can visit this link
> where I have uploaded the result:
>
> http://liveaired.com/derby/emma/harness_insane/coverageinsane/ (Insane
> Build)
> http://liveaired.com/derby/emma/harness_sane/coveragereport/ (Sane
> build)
>
> I am trying to get the results with suites.All but the test always
> fails with this error:
>
> Failed to invoke suite():java.lang.reflect.InvocationTargetException
>
> while using these parameters(for junit) with Emma:
> -XX:MaxPermSize=512m -Xmx1024M -Xms512M
> This is the result on Mac OSX with JRE 1.7
>
> The tests start executing if I don't use these parameters (though
> later fail due to out of memory exception)
>
> Since, I recall executing the tests with same parameters on a JRE 1.6,
> windows machine. I would be trying with
> that as well.
>
>
>
>
> --
> Regards
> Siddharth Srivastava
>
--
Mohamed Nufail
Undergraduate,
Department of Computer Science & Engineering,
University of Moratuwa.
Blog: http://www.nufailm.blogspot.com/
Re: GSoC 2012 - To potential student applicants on the list
Posted by siddharth srivastava <ak...@gmail.com>.
Hi
> I think we used to "add" the results of the derbyall run to the suites.all
> run. It would be interesting to understand what code paths
> are covered by derbyall and not suites.all which would then might
> identify best candidates for test conversion from all harness to junit.
I am trying to get suites.All(with sane build) to finish without any
errors here with Emma.
But in the meanwhile, if anyone wants to see the result of derbyall,
they can visit this link
where I have uploaded the result:
http://liveaired.com/derby/emma/harness_insane/coverageinsane/ (Insane Build)
http://liveaired.com/derby/emma/harness_sane/coveragereport/ (Sane build)
I am trying to get the results with suites.All but the test always
fails with this error:
Failed to invoke suite():java.lang.reflect.InvocationTargetException
while using these parameters(for junit) with Emma:
-XX:MaxPermSize=512m -Xmx1024M -Xms512M
This is the result on Mac OSX with JRE 1.7
The tests start executing if I don't use these parameters (though
later fail due to out of memory exception)
Since, I recall executing the tests with same parameters on a JRE 1.6,
windows machine. I would be trying with
that as well.
--
Regards
Siddharth Srivastava
Re: GSoC 2012 - To potential student applicants on the list
Posted by Mike Matrigali <mi...@sbcglobal.net>.
Tiago Espinha wrote:
> Hmm, if there's code covered by insane builds which is not covered by
> sane builds, is that really a problem?
i continue to regret the terminology (which was chosen when the terms
were only internal in a closed source environment), and sometimes I
mis-type.
sane = extra checking debug build
insane = no checking, fastest build, expected to be used in production
no I would not worry about this issue. I was worried about issue
of code covered by sane builds that is not covered by insane builds.
>We would just have to make sure
> that regressions are ran against insane jars and all would be well. Or
> am I missing something?
My previous comments assumed that insane was being run, which I believe
is the case for the automated reports. I think sane runs are preferred
as they will include coverage of the debug only code paths.
I think it is very rare to have a code path that is covered in an insane
run but not covered in a sane run. While I think there a good
percentage of codepaths that are not covered in an insane run that
are covered in a sane run.
>
> Yesterday Siddharth was also trying to obtain the Emma reports and he
> was obtaining different results from those of the automated tests. It
> turns out he was indeed running the tests against sane jars and he was
> running derbyall instead of suites.All. If I'm not mistaken, suites.All
> is the one that picks up all the JUnit tests whereas derbyall runs the
> old harness tests. I was actually surprised that derbyall produced
> results at all...
I think we used to "add" the results of the derbyall run to the
suites.all run. It would be interesting to understand what code paths
are covered by derbyall and not suites.all which would then might
identify best candidates for test conversion from all harness to junit.
Re: GSoC 2012 - To potential student applicants on the list
Posted by Tiago Espinha <ti...@espinha.net>.
Hmm, if there's code covered by insane builds which is not covered by sane
builds, is that really a problem? We would just have to make sure that
regressions are ran against insane jars and all would be well. Or am I
missing something?
Yesterday Siddharth was also trying to obtain the Emma reports and he was
obtaining different results from those of the automated tests. It turns out
he was indeed running the tests against sane jars and he was running
derbyall instead of suites.All. If I'm not mistaken, suites.All is the one
that picks up all the JUnit tests whereas derbyall runs the old harness
tests. I was actually surprised that derbyall produced results at all...
Anyhow Nufail, well done! Be sure to include this in your proposal by April
16 at the latest as this is the hard deadline of when we will be evaluating
the proposals. I would also take up on Kathey's suggestion and run it with
different versions of JVMs. As far as I can see, you simply have to do two
separate test runs *in separate folders* using a different JVM for each
test run (different JVM = different JVM version). Then you will have two
coverage.em files which you should include when generating the report - at
that step you can include as many coverage files are you like and in this
case they are complementary to each other.
On Fri, Apr 13, 2012 at 1:27 AM, Mike Matrigali <mi...@sbcglobal.net>wrote:
> Katherine Marsden wrote:
>
>> On 4/12/2012 11:16 AM, Mohamed Nufail wrote:
>>
>>> Hi Tiago,
>>>
>>> I didn't run Emma coverage reports myself by the time I wrote the
>>> proposal. But I managed to do it today. It took a long time to run all the
>>> tests, but it completed without errors and produced a coverage report. The
>>> numbers were almost the same as that of the automated runs. I will update
>>> the proposal to include this.
>>>
>> Great work. On thing I recall is that the person who used to run this
>> could run with multiple JVM's and get cumulative results. For example
>> running both JDK 1.5 and JDK 1.6 would better cover both ClientDataSource
>> and ClientDataSource40. If any of your targeted classes code path's
>> appear to be java version dependent, it might be worthwhile to add JDK
>> 1.5, JDK 1.6 and JDK 1.7 in your baseline to see if they are already
>> covered with other java versions.
>>
>>
>>
>>
>> I believe the automated tests are run against "insane" builds. I think
> for identified missed codepaths getting a run against "sane" builds would
> be more valuable as I found that I kept tracking down uncovered
> links and they would lead to sanity code that is likely covered when
> running the tests in sane mode. That with kathey's suggestion of
> adding runs against multiple jvms should good. Next step would be
> to post it somewhere public so people can help identify what to look
> at and see progress.
>
Re: GSoC 2012 - To potential student applicants on the list
Posted by Mike Matrigali <mi...@sbcglobal.net>.
Katherine Marsden wrote:
> On 4/12/2012 11:16 AM, Mohamed Nufail wrote:
>> Hi Tiago,
>>
>> I didn't run Emma coverage reports myself by the time I wrote the
>> proposal. But I managed to do it today. It took a long time to run all
>> the tests, but it completed without errors and produced a coverage
>> report. The numbers were almost the same as that of the automated
>> runs. I will update the proposal to include this.
> Great work. On thing I recall is that the person who used to run this
> could run with multiple JVM's and get cumulative results. For example
> running both JDK 1.5 and JDK 1.6 would better cover both
> ClientDataSource and ClientDataSource40. If any of your targeted
> classes code path's appear to be java version dependent, it might be
> worthwhile to add JDK 1.5, JDK 1.6 and JDK 1.7 in your baseline to see
> if they are already covered with other java versions.
>
>
>
>
I believe the automated tests are run against "insane" builds. I think
for identified missed codepaths getting a run against "sane" builds
would be more valuable as I found that I kept tracking down uncovered
links and they would lead to sanity code that is likely covered when
running the tests in sane mode. That with kathey's suggestion of
adding runs against multiple jvms should good. Next step would be
to post it somewhere public so people can help identify what to look
at and see progress.
Re: GSoC 2012 - To potential student applicants on the list
Posted by Katherine Marsden <km...@sbcglobal.net>.
On 4/12/2012 11:16 AM, Mohamed Nufail wrote:
> Hi Tiago,
>
> I didn't run Emma coverage reports myself by the time I wrote the
> proposal. But I managed to do it today. It took a long time to run all
> the tests, but it completed without errors and produced a coverage
> report. The numbers were almost the same as that of the automated
> runs. I will update the proposal to include this.
Great work. On thing I recall is that the person who used to run this
could run with multiple JVM's and get cumulative results. For example
running both JDK 1.5 and JDK 1.6 would better cover both
ClientDataSource and ClientDataSource40. If any of your targeted
classes code path's appear to be java version dependent, it might be
worthwhile to add JDK 1.5, JDK 1.6 and JDK 1.7 in your baseline to see
if they are already covered with other java versions.
Re: GSoC 2012 - To potential student applicants on the list
Posted by Mohamed Nufail <nu...@gmail.com>.
Hi Tiago,
I didn't run Emma coverage reports myself by the time I wrote the proposal.
But I managed to do it today. It took a long time to run all the tests, but
it completed without errors and produced a coverage report. The numbers
were almost the same as that of the automated runs. I will update the
proposal to include this.
Thanks.
Nufail.
On Wed, Apr 11, 2012 at 5:07 PM, Tiago Espinha <ti...@espinha.net> wrote:
> Hi Nufail,
>
> Your proposal looks good and solid. I would just ask you what I asked
> Siddharth: have you managed to run the Emma coverage reports yourself? This
> would be a good thing to have (and mention in your application) as they
> will be the reference for how good your code coverage is. It's important
> that you can run these yourself, instead of relying on the automated runs.
>
> Kathey and Bryan, feel free to contribute your thoughts about Nufail's and
> Siddharth's proposals. The more input we have, the better.
>
> Regards,
> Tiago
>
>
> On Fri, Apr 6, 2012 at 6:16 AM, Mohamed Nufail <nu...@gmail.com> wrote:
>
>> Hi Kathey,
>>
>> I have come up with an initial version of my proposal. It is available at
>> [1]. I would be glad if you could go through it and provide suggestions for
>> improving it.
>>
>>
>> [1]
>> https://docs.google.com/document/d/1GdLGvkWvPhDyuw2vDBKOR1B1oZH3Y_R_fJADBlPuiGE/edit
>>
>> Thanks.
>> Nufail
>>
>>
>> On Thu, Apr 5, 2012 at 11:14 PM, Katherine Marsden <
>> kmarsdenderby@sbcglobal.net> wrote:
>>
>>> On 4/4/2012 6:24 AM, Tiago Espinha wrote:
>>>
>>> Finally, here's a heads-up to all the students who would like to apply
>>> to this project: the application deadline is on April 6th, meaning you
>>> should get your project proposals submitted before then.
>>>
>>> Be sure to submit an abstract, a description of the tests you're
>>> willing to take on and a schedule for the conclusion of the tests. It is
>>> also important to mention whether you have successfully set up the Derby
>>> environment and whether you managed to compile Derby. I would also
>>> appreciate if the applicants send me (off-list, directly to my e-mail
>>> address) the jars resulting from their compilation. To strengthen your
>>> application I also recommend serious applicants to come to our IRC channel
>>> (#derby @ irc.freenode.net) for an informal and quick interview.
>>>
>>> If you have developed for Derby before and/or created unit tests,
>>> please mention this in your application.
>>>
>>> I am not sure if the process is exactly the same this year. But here
>>> is the scoring criteria for past years. Some things you might not think of
>>> like the interview or indicating how much time you can dedicate count for
>>> a lot. So I suggest you review the scored items and make sure you are
>>> covered.
>>>
>>> http://community.apache.org/mentee-ranking-process.html
>>>
>>>
>>>
>>
>>
>> --
>>
>> Mohamed Nufail
>> Undergraduate,
>> Department of Computer Science & Engineering,
>> University of Moratuwa.
>> Blog: http://www.nufailm.blogspot.com/
>>
>>
>>
>
--
Mohamed Nufail
Undergraduate,
Department of Computer Science & Engineering,
University of Moratuwa.
Blog: http://www.nufailm.blogspot.com/
Re: GSoC 2012 - To potential student applicants on the list
Posted by Tiago Espinha <ti...@espinha.net>.
Hi Nufail,
Your proposal looks good and solid. I would just ask you what I asked
Siddharth: have you managed to run the Emma coverage reports yourself? This
would be a good thing to have (and mention in your application) as they
will be the reference for how good your code coverage is. It's important
that you can run these yourself, instead of relying on the automated runs.
Kathey and Bryan, feel free to contribute your thoughts about Nufail's and
Siddharth's proposals. The more input we have, the better.
Regards,
Tiago
On Fri, Apr 6, 2012 at 6:16 AM, Mohamed Nufail <nu...@gmail.com> wrote:
> Hi Kathey,
>
> I have come up with an initial version of my proposal. It is available at
> [1]. I would be glad if you could go through it and provide suggestions for
> improving it.
>
>
> [1]
> https://docs.google.com/document/d/1GdLGvkWvPhDyuw2vDBKOR1B1oZH3Y_R_fJADBlPuiGE/edit
>
> Thanks.
> Nufail
>
>
> On Thu, Apr 5, 2012 at 11:14 PM, Katherine Marsden <
> kmarsdenderby@sbcglobal.net> wrote:
>
>> On 4/4/2012 6:24 AM, Tiago Espinha wrote:
>>
>> Finally, here's a heads-up to all the students who would like to apply to
>> this project: the application deadline is on April 6th, meaning you should
>> get your project proposals submitted before then.
>>
>> Be sure to submit an abstract, a description of the tests you're
>> willing to take on and a schedule for the conclusion of the tests. It is
>> also important to mention whether you have successfully set up the Derby
>> environment and whether you managed to compile Derby. I would also
>> appreciate if the applicants send me (off-list, directly to my e-mail
>> address) the jars resulting from their compilation. To strengthen your
>> application I also recommend serious applicants to come to our IRC channel
>> (#derby @ irc.freenode.net) for an informal and quick interview.
>>
>> If you have developed for Derby before and/or created unit tests,
>> please mention this in your application.
>>
>> I am not sure if the process is exactly the same this year. But here
>> is the scoring criteria for past years. Some things you might not think of
>> like the interview or indicating how much time you can dedicate count for
>> a lot. So I suggest you review the scored items and make sure you are
>> covered.
>>
>> http://community.apache.org/mentee-ranking-process.html
>>
>>
>>
>
>
> --
>
> Mohamed Nufail
> Undergraduate,
> Department of Computer Science & Engineering,
> University of Moratuwa.
> Blog: http://www.nufailm.blogspot.com/
>
>
>
Re: GSoC 2012 - To potential student applicants on the list
Posted by Tiago Espinha <ti...@espinha.net>.
Hi all,
Here's a thank you for all the students who applied for the GSoC project
aiming to improve Derby's code coverage.
We have received serious applications which we will now rank and based on
this rank, determine which students get their project approved.
Apologies for not coming back to all of you in a timely manner but I was
away from my computer since last Friday.
Regards,
Tiago
On Fri, Apr 6, 2012 at 6:16 AM, Mohamed Nufail <nu...@gmail.com> wrote:
> Hi Kathey,
>
> I have come up with an initial version of my proposal. It is available at
> [1]. I would be glad if you could go through it and provide suggestions for
> improving it.
>
>
> [1]
> https://docs.google.com/document/d/1GdLGvkWvPhDyuw2vDBKOR1B1oZH3Y_R_fJADBlPuiGE/edit
>
> Thanks.
> Nufail
>
>
> On Thu, Apr 5, 2012 at 11:14 PM, Katherine Marsden <
> kmarsdenderby@sbcglobal.net> wrote:
>
>> On 4/4/2012 6:24 AM, Tiago Espinha wrote:
>>
>> Finally, here's a heads-up to all the students who would like to apply to
>> this project: the application deadline is on April 6th, meaning you should
>> get your project proposals submitted before then.
>>
>> Be sure to submit an abstract, a description of the tests you're
>> willing to take on and a schedule for the conclusion of the tests. It is
>> also important to mention whether you have successfully set up the Derby
>> environment and whether you managed to compile Derby. I would also
>> appreciate if the applicants send me (off-list, directly to my e-mail
>> address) the jars resulting from their compilation. To strengthen your
>> application I also recommend serious applicants to come to our IRC channel
>> (#derby @ irc.freenode.net) for an informal and quick interview.
>>
>> If you have developed for Derby before and/or created unit tests,
>> please mention this in your application.
>>
>> I am not sure if the process is exactly the same this year. But here
>> is the scoring criteria for past years. Some things you might not think of
>> like the interview or indicating how much time you can dedicate count for
>> a lot. So I suggest you review the scored items and make sure you are
>> covered.
>>
>> http://community.apache.org/mentee-ranking-process.html
>>
>>
>>
>
>
> --
>
> Mohamed Nufail
> Undergraduate,
> Department of Computer Science & Engineering,
> University of Moratuwa.
> Blog: http://www.nufailm.blogspot.com/
>
>
>
Re: GSoC 2012 - To potential student applicants on the list
Posted by Mohamed Nufail <nu...@gmail.com>.
Hi Kathey,
I have come up with an initial version of my proposal. It is available at
[1]. I would be glad if you could go through it and provide suggestions for
improving it.
[1]
https://docs.google.com/document/d/1GdLGvkWvPhDyuw2vDBKOR1B1oZH3Y_R_fJADBlPuiGE/edit
Thanks.
Nufail
On Thu, Apr 5, 2012 at 11:14 PM, Katherine Marsden <
kmarsdenderby@sbcglobal.net> wrote:
> On 4/4/2012 6:24 AM, Tiago Espinha wrote:
>
> Finally, here's a heads-up to all the students who would like to apply to
> this project: the application deadline is on April 6th, meaning you should
> get your project proposals submitted before then.
>
> Be sure to submit an abstract, a description of the tests you're willing
> to take on and a schedule for the conclusion of the tests. It is also
> important to mention whether you have successfully set up the Derby
> environment and whether you managed to compile Derby. I would also
> appreciate if the applicants send me (off-list, directly to my e-mail
> address) the jars resulting from their compilation. To strengthen your
> application I also recommend serious applicants to come to our IRC channel
> (#derby @ irc.freenode.net) for an informal and quick interview.
>
> If you have developed for Derby before and/or created unit tests, please
> mention this in your application.
>
> I am not sure if the process is exactly the same this year. But here is
> the scoring criteria for past years. Some things you might not think of
> like the interview or indicating how much time you can dedicate count for
> a lot. So I suggest you review the scored items and make sure you are
> covered.
>
> http://community.apache.org/mentee-ranking-process.html
>
>
>
--
Mohamed Nufail
Undergraduate,
Department of Computer Science & Engineering,
University of Moratuwa.
Blog: http://www.nufailm.blogspot.com/
Re: GSoC 2012 - To potential student applicants on the list
Posted by Katherine Marsden <km...@sbcglobal.net>.
On 4/4/2012 6:24 AM, Tiago Espinha wrote:
> Finally, here's a heads-up to all the students who would like to apply
> to this project: the application deadline is on April 6th, meaning you
> should get your project proposals submitted before then.
>
> Be sure to submit an abstract, a description of the tests you're
> willing to take on and a schedule for the conclusion of the tests. It
> is also important to mention whether you have successfully set up the
> Derby environment and whether you managed to compile Derby. I would
> also appreciate if the applicants send me (off-list, directly to my
> e-mail address) the jars resulting from their compilation. To
> strengthen your application I also recommend serious applicants to
> come to our IRC channel (#derby @ irc.freenode.net
> <http://irc.freenode.net>) for an informal and quick interview.
>
> If you have developed for Derby before and/or created unit tests,
> please mention this in your application.
>
I am not sure if the process is exactly the same this year. But here is
the scoring criteria for past years. Some things you might not think of
like the interview or indicating how much time you can dedicate count
for a lot. So I suggest you review the scored items and make sure you
are covered.
http://community.apache.org/mentee-ranking-process.html
Re: GSoC 2012 - To potential student applicants on the list
Posted by Mohamed Nufail <nu...@gmail.com>.
Hi Tiago,
Thank you for the clarification. The problem for me was the classes were
not having unit tests with 'Test' suffix. Methods in them were being tested
through other tests. So I guess unit tests need to be created for those
classes.
I will come up with a proposal according to the given guidelines, soon.
Thank You.
Nufail.
On Wed, Apr 4, 2012 at 6:54 PM, Tiago Espinha <ti...@espinha.net> wrote:
> Hi Nufail,
>
> Typically the unit tests will have the same name as the class they're
> testing with the "-Test" suffix appended at the end. By searching the whole
> source tree (i.e. find . -name "NameOfClassTest.java" or find . -name
> "*Test.java" to be more generic) you should be able to find all the unit
> tests.
>
> Also, if there's no unit test, one should be created per class where each
> method is tested. Sure, currently some methods are already being tested
> through other tests that make use of more than one class but ideally, each
> *unit* test should focus only on the class it is testing.
>
> Finally, here's a heads-up to all the students who would like to apply to
> this project: the application deadline is on April 6th, meaning you should
> get your project proposals submitted before then.
>
> Be sure to submit an abstract, a description of the tests you're willing
> to take on and a schedule for the conclusion of the tests. It is also
> important to mention whether you have successfully set up the Derby
> environment and whether you managed to compile Derby. I would also
> appreciate if the applicants send me (off-list, directly to my e-mail
> address) the jars resulting from their compilation. To strengthen your
> application I also recommend serious applicants to come to our IRC channel
> (#derby @ irc.freenode.net) for an informal and quick interview.
>
> If you have developed for Derby before and/or created unit tests, please
> mention this in your application.
>
> Regards,
> Tiago
>
>
> On Wed, Apr 4, 2012 at 8:42 AM, Mohamed Nufail <nu...@gmail.com> wrote:
>
>> Hi Tiago,
>>
>> After reading the details provided, I went through the wiki page on Derby
>> testing [1]. And also looked at the provided code coverage report. I
>> thought it's better to look into the existing tests for classes with poor
>> coverage in order to get a better understanding. But I found it difficult
>> to locate the tests written for each class. Is there an easier way to do
>> this?
>>
>> Also I'd like to know how improving code coverage should be done. Are we
>> required to write unit tests for methods that are not covered or come up
>> with tests for the functionality of the whole class?
>>
>> Regards,
>> Nufail.
>>
>> [1] http://wiki.apache.org/db-derby/DerbyTesting
>>
>>
>>
>> On Wed, Mar 28, 2012 at 2:27 AM, Tiago Espinha <ti...@espinha.net> wrote:
>>
>>> Dear students,
>>>
>>> For those interested, I will be mentoring a GSoC project for Apache
>>> Derby.
>>>
>>> More details on: https://issues.apache.org/jira/browse/DERBY-5674
>>>
>>> Regards,
>>> Tiago
>>>
>>
>>
>>
>> --
>>
>> Mohamed Nufail
>> Undergraduate,
>> Department of Computer Science & Engineering,
>> University of Moratuwa.
>> Blog: http://www.nufailm.blogspot.com/
>>
>>
>>
>
--
Mohamed Nufail
Undergraduate,
Department of Computer Science & Engineering,
University of Moratuwa.
Blog: http://www.nufailm.blogspot.com/
Re: GSoC 2012 - To potential student applicants on the list
Posted by Tiago Espinha <ti...@espinha.net>.
Hi Nufail,
Typically the unit tests will have the same name as the class they're
testing with the "-Test" suffix appended at the end. By searching the whole
source tree (i.e. find . -name "NameOfClassTest.java" or find . -name
"*Test.java" to be more generic) you should be able to find all the unit
tests.
Also, if there's no unit test, one should be created per class where each
method is tested. Sure, currently some methods are already being tested
through other tests that make use of more than one class but ideally, each
*unit* test should focus only on the class it is testing.
Finally, here's a heads-up to all the students who would like to apply to
this project: the application deadline is on April 6th, meaning you should
get your project proposals submitted before then.
Be sure to submit an abstract, a description of the tests you're willing to
take on and a schedule for the conclusion of the tests. It is also
important to mention whether you have successfully set up the Derby
environment and whether you managed to compile Derby. I would also
appreciate if the applicants send me (off-list, directly to my e-mail
address) the jars resulting from their compilation. To strengthen your
application I also recommend serious applicants to come to our IRC channel
(#derby @ irc.freenode.net) for an informal and quick interview.
If you have developed for Derby before and/or created unit tests, please
mention this in your application.
Regards,
Tiago
On Wed, Apr 4, 2012 at 8:42 AM, Mohamed Nufail <nu...@gmail.com> wrote:
> Hi Tiago,
>
> After reading the details provided, I went through the wiki page on Derby
> testing [1]. And also looked at the provided code coverage report. I
> thought it's better to look into the existing tests for classes with poor
> coverage in order to get a better understanding. But I found it difficult
> to locate the tests written for each class. Is there an easier way to do
> this?
>
> Also I'd like to know how improving code coverage should be done. Are we
> required to write unit tests for methods that are not covered or come up
> with tests for the functionality of the whole class?
>
> Regards,
> Nufail.
>
> [1] http://wiki.apache.org/db-derby/DerbyTesting
>
>
>
> On Wed, Mar 28, 2012 at 2:27 AM, Tiago Espinha <ti...@espinha.net> wrote:
>
>> Dear students,
>>
>> For those interested, I will be mentoring a GSoC project for Apache Derby.
>>
>> More details on: https://issues.apache.org/jira/browse/DERBY-5674
>>
>> Regards,
>> Tiago
>>
>
>
>
> --
>
> Mohamed Nufail
> Undergraduate,
> Department of Computer Science & Engineering,
> University of Moratuwa.
> Blog: http://www.nufailm.blogspot.com/
>
>
>
Re: GSoC 2012 - To potential student applicants on the list
Posted by Mohamed Nufail <nu...@gmail.com>.
Hi Tiago,
After reading the details provided, I went through the wiki page on Derby
testing [1]. And also looked at the provided code coverage report. I
thought it's better to look into the existing tests for classes with poor
coverage in order to get a better understanding. But I found it difficult
to locate the tests written for each class. Is there an easier way to do
this?
Also I'd like to know how improving code coverage should be done. Are we
required to write unit tests for methods that are not covered or come up
with tests for the functionality of the whole class?
Regards,
Nufail.
[1] http://wiki.apache.org/db-derby/DerbyTesting
On Wed, Mar 28, 2012 at 2:27 AM, Tiago Espinha <ti...@espinha.net> wrote:
> Dear students,
>
> For those interested, I will be mentoring a GSoC project for Apache Derby.
>
> More details on: https://issues.apache.org/jira/browse/DERBY-5674
>
> Regards,
> Tiago
>
--
Mohamed Nufail
Undergraduate,
Department of Computer Science & Engineering,
University of Moratuwa.
Blog: http://www.nufailm.blogspot.com/