Hi Pawel!  Comments inline below :)

2010/3/23 Paweł Blokus <[email protected]>:
> Hi,
>
> I'm a student from Gdańsk Technical University. I'm currently on the
> third year of my Masters Degree studies.
>
> I'm interested in working on the "Add a Proper Unit Testing Framework
> to Drizzle" project at Google Summer of Code. I've already got Drizzle
> compiled and currently I'm looking through the code. I have some
> general questions and some regarding the project I've picked:
>
> - What level of experience with unit-testing frameworks is required? I
> have got familiar with unit testing at my studies and I have basic
> experience from using them in some projects on my own.

General familiarity with unit testing would be good, but you don't
have to be an expert.  After all, part of the purpose of GSoC is to
learn!  Would be a shame if you already knew everything about unit
testing and were working on a unit testing project ;)

> - With which parts of the code should I get familiar at first? What
> are the first candidates for getting some proper tests? On the ideas
> page it is written that more than 1 student could be assigned to this
> project, so I'm guessing that writing all tests may by impossible in
> the GSoC period?

Hehe, well if you managed to create unit tests for even 20% of the
plugin-facing APIs in the Drizzle kernel, I would be extremely
impressed :)  There are >300K lines of code in Drizzle (about 115K
lines of code in the kernel itself), so it's certainly not expected
that you write unit tests for even a majority of the code.

The parts of the code base which I believe would be best stressed by
unit tests are the public-facing plugin APIs and some major class APIs
in the kernel.  The plugin APIs are all located in /drizzled/plugin/
and the major class interfaces that you might want to take a look at
are:

/drizzled/cursor.h
/drizzled/item.h
/drizzled/field.h

and lots more.

The project's first steps, however, should focus on simply
constructing a solid unit testing framework and integrating that into
our build process.  I would *strongly* recommend using an existing
open source unit testing framework such as GTest.

> - Is it possible to get a task assigned, which I could accomplish in
> order to prove my code understanding and coding skills? It would also
> have the huge benefit of being the fastest way of getting into the
> code intricacies :)

Yes, absolutely!  Do you want a new blueprint or do any of these tasks
interest you?

https://launchpad.net/drizzle/+milestone/low-hanging-fruit

Cheers!

jay

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to