[Kmymoney-devel] CSV Importer Plugin

Alvaro Soliverez asoliverez at gmail.com
Mon Feb 22 11:40:59 CET 2010


On Mon, Feb 22, 2010 at 7:37 AM, aga <aganderson at ukonline.co.uk> wrote:
> On Monday 22 Feb 2010 07:45:02 Thomas Baumgart wrote:
>> On Monday 22 February 2010 00:53:46 aga wrote:
>> > On Sunday 21 Feb 2010 23:02:15 Alvaro Soliverez wrote:
>>
>> [...]
>>
>> > > Congratz!
>> > > And yes, that's supposed to happen.
>> > > It's the raison d'etre of the unit tests.
>> > > First, to make sure you don't screw up when you first develop a
>> > > feature, and then to make sure you don't screw up when you change
>> > > something else. :D
>> >
>> > Yes, I knew that really!  But, I certainly didn't expect it to happen
>> > first go.
>>
>> I once read in an e-mail sent out to me:
>>
>> "BTW, just the planning of the test cases helped me to improve the code a
>> lot.  -- Alvaro Soliverez"
>>
>
> I've been doing a bit of reading up, and yes, I can see that.  Already, I've
> had to do a bit of redesign to allow testing.  Plus, I'm going to have to move
> some error messages for the same reason.
>
> Just thinking ahead slightly, so far I've been working on a free-standing
> version so as to get a simple executable and not mess things up in the
> process.  What I'm unclear on is integrating back into KMM.
>
> Is it something like 'make test' and then run as normal, or what?
>

To run the tests, you have to enable the tests in cmake or ccmake.
Then, you make and make install, as usual, and finally you run make test


More information about the KMyMoney-devel mailing list