Umbrello in GSoC
9 de maio de 2011 3 Comentários
My first week of work according to plan:
25 April – 08 May
* Community Bonding Period. (I talked a bit with some class mates of GSoC)
* Review Plan with Mentor. (I talked to Jonathan)
* Get instructions for the work and get started!
… and get used to work from home :)
I discovered that the best way to work would be to keep the old classes with the newly written ones together. Including calls for new methods in the same project so I can test the functionality of the new methods. Always comparing the new ones with the old ones.
The current result is Umbrello working with a new window showing the “new canvas”:
In this “view” with QGraphicsView I can test my new classes.
Using Squish to write tests:
To try to make the best decision regarding how to proceed to the port, which parts of code reuse, I did a few class diagrams (just a draft), with the main classes that I should work with, I thought it would be interesting to draw the diagram in Umbrello, and save some steps using Squish
I’m using the Squish Community Edition – froglogic Squish IDE 4.1.0-SNAPSHOT – available only to test KDE software – you can ask one by e-mail: email@example.com. The advantage was to get some practice with the Software (I also discovered and reported some bugs :/)
It is very easy to write tests with Squish, you can automate the tests or write scripts by hand. What is tiring is that when you record the tests, the system stores a table with the objects of your application. But if the the object is not in this table, the test stops and you must include the object or editing the table by hand, or run the application in Spy mode or simply write “test dummies”.
Read more here: http://doc.froglogic.com/squish/latest/all/
Some interesting links:
QObject x QGraphicsObject:
Qt GraphicsView in depth:
Sprint 1: 09 May – 22 May
* UMLViewCanvas, LinePath, Circle, SubsetSymbol, SeqLineWidget, UMLView (Classes that implement the view for the diagrams, graphical representation of sequence lines and that represent diagrams)
You can see my complete workplan here: Umbrello UML Modeller QGraphicsView Port
I believe that like most students, my expectation with the GSoC is to LEARN a lot and perform a GOOD job. And even after that period CONTINUE contributing to the community:)