Add new comment

asoliverez's picture

How good to have unit tests

In KMyMoney we have over 330 unit tests. Thomas enforces the integrity of the tests like a bulldog, and I am really glad he does. The tests cover almost all areas of the engine, so we can check that data is created, saved and retrieved as it should. This is proving to be a great help during the port to KDE4.

This week, Thomas worked on the test build system, and then went through the most of the tests, fixing here and there all the little quirks caused by the port. Most of the tests are working now, save for the DB ones. This is good since now we have a stable engine to continue our port without doubts whether something is not working in some arcane place.

In the meantime, Laurent has been all over, fixing here and there. The settings dialogs are now working, for example.

Me, I have been busy with the views, which are mostly working now, though the refresh is giving me some headaches. I am working now on the ledger, which is the most complicated view, and probably one that we will have to port without Qt3 support.

Regarding Qt3 support, we intend to go without it as soon as we can, but we are focusing first on those parts of the code that have to be absolutely ported. Later, we will return and migrate everything to the MVC model and remove Qt3Support. I see a lot of models in my future. :D :D

So, here is a screenshot of the settings, now working.

AttachmentSize
kmm_kde4_3.png148.85 KB

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Full HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Twitter icon
Facebook icon
Google icon
StumbleUpon icon
Del.icio.us icon
Digg icon
LinkedIn icon
MySpace icon
Newsvine icon
Reddit icon
Technorati icon
Yahoo! icon
e-mail icon